Skip to content

Build your personal knowledge base with Trilium Notes

typo in note.type

Tom552e5d7d060f
diff --git a/src/services/export/single.js b/src/services/export/single.js
index f7ab87dc49..d3fe2144c4 100644
--- a/src/services/export/single.js
+++ b/src/services/export/single.js
@@ -41,7 +41,7 @@ function exportSingleNote(taskContext, branch, format, res) {
extension = mimeTypes.extension(note.mime) || 'code';
mime = note.mime;
}
- else if (note.type === 'relation-map' || note.type === 'canas-note' || note.type === 'search') {
+ else if (note.type === 'relation-map' || note.type === 'canvas-note' || note.type === 'search') {
payload = content;
extension = 'json';
mime = 'application/json';