mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 15:55:52 +01:00
rename note types to camelCase
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user