mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 11:47:37 +08:00
sync fixes
This commit is contained in:
parent
47dfca83eb
commit
3f7b54425d
2 changed files with 3 additions and 2 deletions
|
|
@ -1,3 +1,4 @@
|
|||
UPDATE sync SET entityName = 'note_images' WHERE entityName = 'notes_image';
|
||||
UPDATE sync SET entityName = 'note_tree' WHERE entityName = 'notes_tree';
|
||||
UPDATE sync SET entityName = 'note_revisions' WHERE entityName = 'notes_history';
|
||||
UPDATE sync SET entityName = 'note_revisions' WHERE entityName = 'notes_history';
|
||||
UPDATE sync SET entityName = 'note_reordering' WHERE entityName = 'notes_reordering';
|
||||
|
|
@ -245,7 +245,7 @@ async function pushEntity(sync, syncContext) {
|
|||
log.info(`Pushing changes in sync #${sync.id} ${sync.entityName} ${sync.entityId}`);
|
||||
|
||||
const payload = {
|
||||
sourceId: sourceId.getCurrentSourceId(),
|
||||
sourceId: source_id.getCurrentSourceId(),
|
||||
entity: entity
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue