mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
becca conversion WIP
This commit is contained in:
@@ -30,7 +30,7 @@ async function importToBranch(req) {
|
||||
return [400, "No file has been uploaded"];
|
||||
}
|
||||
|
||||
const parentNote = repository.getNote(parentNoteId);
|
||||
const parentNote = becca.getNote(parentNoteId);
|
||||
|
||||
if (!parentNote) {
|
||||
return [404, `Note ${parentNoteId} doesn't exist.`];
|
||||
|
||||
Reference in New Issue
Block a user