mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 09:16:45 +01:00
renaming note_tree to branch
This commit is contained in:
@@ -48,11 +48,11 @@ router.post('/:parentNoteId/children', auth.checkApiAuth, wrap(async (req, res,
|
||||
const newNote = req.body;
|
||||
|
||||
await sql.doInTransaction(async () => {
|
||||
const { noteId, noteTreeId, note } = await notes.createNewNote(parentNoteId, newNote, req, sourceId);
|
||||
const { noteId, branchId, note } = await notes.createNewNote(parentNoteId, newNote, req, sourceId);
|
||||
|
||||
res.send({
|
||||
'noteId': noteId,
|
||||
'noteTreeId': noteTreeId,
|
||||
'branchId': branchId,
|
||||
'note': note
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user