typo in note.type

This commit is contained in:
Tom 2022-05-09 16:18:06 +02:00
parent 9c7f8cf5d8
commit 552e5d7d06

View file

@ -41,7 +41,7 @@ function exportSingleNote(taskContext, branch, format, res) {
extension = mimeTypes.extension(note.mime) || 'code'; extension = mimeTypes.extension(note.mime) || 'code';
mime = note.mime; 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; payload = content;
extension = 'json'; extension = 'json';
mime = 'application/json'; mime = 'application/json';