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

@@ -102,8 +102,8 @@ async function openNoteCustom(noteId) {
}
}
function downloadNoteRevision(noteId, noteRevisionId) {
const url = getUrlForDownload(`api/revisions/${noteRevisionId}/download`);
function downloadRevision(noteId, revisionId) {
const url = getUrlForDownload(`api/revisions/${revisionId}/download`);
download(url);
}
@@ -164,7 +164,7 @@ function getHost() {
export default {
download,
downloadFileNote,
downloadNoteRevision,
downloadRevision,
downloadAttachment,
getUrlForDownload,
openNoteExternally,