This commit is contained in:
azivner
2018-04-06 18:49:37 -04:00
parent 29769ed91d
commit 9b5a44cef4
2 changed files with 2 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ async function forceNoteSync(req) {
syncService.sync();
}
async function getChanged() {
async function getChanged(req) {
const lastSyncId = parseInt(req.query.lastSyncId);
return await sql.getRows("SELECT * FROM sync WHERE id > ?", [lastSyncId]);