mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 18:05:55 +01:00
tree changes as a module
This commit is contained in:
@@ -127,6 +127,11 @@ async function readAndPushEntity(sync, syncContext) {
|
||||
logSyncError("Unrecognized entity type " + sync.entity_name, null);
|
||||
}
|
||||
|
||||
if (!entity) {
|
||||
logSync("Sync entity for " + sync.entity_name + " " + sync.entity_id + " doesn't exist. Skipping.");
|
||||
return;
|
||||
}
|
||||
|
||||
logSync("Pushing changes in " + sync.entity_name + " " + sync.entity_id);
|
||||
|
||||
await sendEntity(entity, sync.entity_name, syncContext.cookieJar);
|
||||
|
||||
Reference in New Issue
Block a user