mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-23 22:57:33 +03:00
Add forgotten space in query GetNodeEventsWithLimit (#6541)
This commit is contained in:
parent
cae1f7ea14
commit
c773857b17
2
db.js
2
db.js
@ -1778,7 +1778,7 @@ module.exports.CreateDB = function (parent, func) {
|
||||
var query = "SELECT doc FROM events WHERE (nodeid = $1 AND domain = $2";
|
||||
var dataarray = [nodeid, domain];
|
||||
if (filter != null) {
|
||||
query = query + "AND action = $3) ORDER BY time DESC LIMIT $4";
|
||||
query = query + " AND action = $3) ORDER BY time DESC LIMIT $4";
|
||||
dataarray.push(filter);
|
||||
} else {
|
||||
query = query + ") ORDER BY time DESC LIMIT $3";
|
||||
|
Loading…
Reference in New Issue
Block a user