mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 00:05:50 +01:00
server-ts: Address requested changes
This commit is contained in:
@@ -24,7 +24,7 @@ function exportSingleNote(taskContext: TaskContext, branch: BBranch, format: "ht
|
||||
|
||||
let content = note.getContent();
|
||||
if (typeof content !== "string") {
|
||||
throw new Error("Unsupported context type for export.");
|
||||
throw new Error("Unsupported content type for export.");
|
||||
}
|
||||
|
||||
if (note.type === 'text') {
|
||||
|
||||
Reference in New Issue
Block a user