mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 07:45:51 +01:00
added isSynced to sync table to allow forward compatibility with 0.41
This commit is contained in:
@@ -11,7 +11,8 @@ async function insertEntitySync(entityName, entityId, sourceId) {
|
||||
entityName: entityName,
|
||||
entityId: entityId,
|
||||
utcSyncDate: dateUtils.utcNowDateTime(),
|
||||
sourceId: sourceId || cls.getSourceId() || sourceIdService.getCurrentSourceId()
|
||||
sourceId: sourceId || cls.getSourceId() || sourceIdService.getCurrentSourceId(),
|
||||
isSynced: 1
|
||||
};
|
||||
|
||||
sync.id = await sql.replace("sync", sync);
|
||||
|
||||
Reference in New Issue
Block a user