fix bookmark's ID

This commit is contained in:
zadam
2022-12-24 12:26:32 +01:00
parent 1d1e6ae782
commit c5fb2cccd5
7 changed files with 8 additions and 8 deletions

View File

@@ -100,7 +100,7 @@ function getAndValidateParent(params) {
throw new ValidationError(`Parent note "${params.parentNoteId}" not found.`);
}
if (parentNote.type === 'launcher' && parentNote.noteId !== 'lbBookmarks') {
if (parentNote.type === 'launcher' && parentNote.noteId !== '_lbBookmarks') {
throw new ValidationError(`Creating child notes into launcher notes is not allowed.`);
}