sqlQuery Conversion : minor update to socketio.js
parent
7f42e3efd0
commit
aebd01cefd
|
@ -553,9 +553,7 @@ module.exports = function(s,config,lang,io){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(monitorRestrictions.length > 0){
|
if(monitorRestrictions.length > 0){
|
||||||
eventWhereQuery = eventWhereQuery.concat([
|
eventWhereQuery.push(monitorRestrictions)
|
||||||
monitorRestrictions
|
|
||||||
])
|
|
||||||
}
|
}
|
||||||
console.log(eventWhereQuery)
|
console.log(eventWhereQuery)
|
||||||
s.knexQuery({
|
s.knexQuery({
|
||||||
|
@ -612,9 +610,7 @@ module.exports = function(s,config,lang,io){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(monitorRestrictions.length > 0){
|
if(monitorRestrictions.length > 0){
|
||||||
videoWhereQuery = videoWhereQuery.concat([
|
videoWhereQuery.push(monitorRestrictions)
|
||||||
monitorRestrictions
|
|
||||||
])
|
|
||||||
}
|
}
|
||||||
s.knexQuery({
|
s.knexQuery({
|
||||||
action: "select",
|
action: "select",
|
||||||
|
|
Loading…
Reference in New Issue