rename "note revision" to just "revision"

This commit is contained in:
zadam
2023-06-04 23:01:40 +02:00
parent cb9feab7b2
commit 779751a234
46 changed files with 275 additions and 248 deletions

View File

@@ -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

View File

@@ -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);
});