refactored "sync" table to "entity_changes"

This commit is contained in:
zadam
2020-08-02 23:27:48 +02:00
parent 5a5ea4f474
commit 864271d5ef
32 changed files with 170 additions and 187 deletions

View File

@@ -3,7 +3,7 @@
const sql = require('./sql');
const repository = require('./repository');
const Branch = require('../entities/branch');
const syncTableService = require('./sync_table');
const entityChangesService = require('./entity_changes.js');
const protectedSessionService = require('./protected_session');
function getNotes(noteIds) {
@@ -138,7 +138,7 @@ function sortNotesAlphabetically(parentNoteId, directoriesFirst = false) {
position += 10;
}
syncTableService.addNoteReorderingSync(parentNoteId);
entityChangesService.addNoteReorderingSync(parentNoteId);
});
}