mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 01:36:24 +01:00
creating / updating notes_image rows
This commit is contained in:
@@ -32,8 +32,8 @@ async function addImageSync(imageId, sourceId) {
|
||||
await addEntitySync("images", imageId, sourceId);
|
||||
}
|
||||
|
||||
async function addNoteImageSync(imageId, sourceId) {
|
||||
await addEntitySync("notes_image", imageId, sourceId);
|
||||
async function addNoteImageSync(noteImageId, sourceId) {
|
||||
await addEntitySync("notes_image", noteImageId, sourceId);
|
||||
}
|
||||
|
||||
async function addEntitySync(entityName, entityId, sourceId) {
|
||||
|
||||
Reference in New Issue
Block a user