aboutsummaryrefslogtreecommitdiffstats
path: root/apps/Notes/helpers/export.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/Notes/helpers/export.js')
-rw-r--r--apps/Notes/helpers/export.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/Notes/helpers/export.js b/apps/Notes/helpers/export.js
index 80fa100..4a0db9c 100644
--- a/apps/Notes/helpers/export.js
+++ b/apps/Notes/helpers/export.js
@@ -23,7 +23,7 @@ export const handleExport = (e, ids, notes) => {
Promise.all(ids.map(async id => {
const title = notes.find(n => n.noteId === id).title
- const {content} = await fetchJson(`/api/note/${id}`)
+ const {content} = await fetchJson(`/api/notes/${id}`)
zip.folder('notes').file(filename(title), content, {binary: true})
})).then(() => {
zip.generateAsync({type:"blob"})