Added missing semi-colon

This commit is contained in:
tripathyr 2023-10-10 12:49:55 +05:30 committed by GitHub
parent b08045753d
commit 884e0df822
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -531,7 +531,7 @@ DB.clearUnauthorisedAppData = function (snID, authorisedAppList, timestamp) {
return new Promise((resolve, reject) => {
let statement = "DELETE FROM _" + snID +
" WHERE " + H_struct.TIME + " < ? AND " + //data before deleteDelay (ie, 7 days ago)
H_struct.APPLICATION + " NOT IN (?)" //app not authorised
H_struct.APPLICATION + " NOT IN (?) "; //app not authorised
queryResolve(statement, [timestamp, authorisedAppList])
.then(result => resolve(result))