smaller refactorings continued

This commit is contained in:
azivner
2018-04-01 17:38:24 -04:00
parent 15d951b04e
commit 96dab5d51e
14 changed files with 122 additions and 109 deletions

View File

@@ -46,7 +46,7 @@ async function forceNoteSync(req) {
}
for (const noteRevisionId of await sql.getColumn("SELECT noteRevisionId FROM note_revisions WHERE noteId = ?", [noteId])) {
await sync_table.addNoteRevisionsSync(noteRevisionId);
await sync_table.addNoteRevisionSync(noteRevisionId);
}
log.info("Forcing note sync for " + noteId);