rename note types to camelCase

This commit is contained in:
zadam
2022-12-06 23:01:42 +01:00
parent f336435adb
commit b9632a7814
32 changed files with 95 additions and 77 deletions

View File

@@ -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 === 'canvas' || note.type === 'search') {
else if (note.type === 'relationMap' || note.type === 'canvas' || note.type === 'search') {
payload = content;
extension = 'json';
mime = 'application/json';