mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
fix migration in electron build
This commit is contained in:
@@ -28,7 +28,7 @@ async function createNewNote(parentNoteId, note) {
|
||||
await sync_table.addNoteReorderingSync(parentNoteId);
|
||||
}
|
||||
else {
|
||||
throwError('Unknown target: ' + note.target);
|
||||
throw new Error('Unknown target: ' + note.target);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user