refactorings

This commit is contained in:
zadam
2023-04-14 16:49:06 +02:00
parent 34ecd77bd4
commit f01657e1dd
20 changed files with 336 additions and 393 deletions

View File

@@ -48,7 +48,7 @@ async function openNoteExternally(noteId, mime) {
}
function downloadNoteRevision(noteId, noteRevisionId) {
const url = getUrlForDownload(`api/notes/${noteId}/revisions/${noteRevisionId}/download`);
const url = getUrlForDownload(`api/revisions/${noteRevisionId}/download`);
download(url);
}