mirror of
https://github.com/zadam/trilium.git
synced 2026-02-13 18:07:01 +01:00
rename "note revision" to just "revision"
This commit is contained in:
@@ -308,7 +308,7 @@ paths:
|
||||
default: html
|
||||
post:
|
||||
description: Create a note revision for the given note
|
||||
operationId: createNoteRevision
|
||||
operationId: createRevision
|
||||
responses:
|
||||
'204':
|
||||
description: revision has been created
|
||||
|
||||
@@ -149,7 +149,7 @@ function register(router) {
|
||||
eu.route(router, 'post' ,'/etapi/notes/:noteId/note-revision', (req, res, next) => {
|
||||
const note = eu.getAndCheckNote(req.params.noteId);
|
||||
|
||||
note.saveNoteRevision();
|
||||
note.saveRevision();
|
||||
|
||||
return res.sendStatus(204);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user