mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 09:58:32 +02:00
fix attribute sync
This commit is contained in:
parent
06bb39cffd
commit
9c85303c94
@ -146,6 +146,9 @@ async function pullSync(syncContext) {
|
|||||||
else if (sync.entity_name === 'notes_image') {
|
else if (sync.entity_name === 'notes_image') {
|
||||||
await syncUpdate.updateNoteImage(resp, syncContext.sourceId);
|
await syncUpdate.updateNoteImage(resp, syncContext.sourceId);
|
||||||
}
|
}
|
||||||
|
else if (sync.entity_name === 'attributes') {
|
||||||
|
await syncUpdate.updateAttribute(resp, syncContext.sourceId);
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
throw new Error(`Unrecognized entity type ${sync.entity_name} in sync #${sync.id}`);
|
throw new Error(`Unrecognized entity type ${sync.entity_name} in sync #${sync.id}`);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user