server-ts: Address requested changes

This commit is contained in:
Elian Doran
2024-04-11 19:49:01 +03:00
parent a154dc76ce
commit 1ac65fff47
2 changed files with 2 additions and 2 deletions

View File

@@ -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') {