Skip to content

Build your personal knowledge base with Trilium Notes

server: Fix empty note titles (closes #205)

Elian Doran2e8b2d4b81f2
diff --git a/src/becca/entities/bnote.ts b/src/becca/entities/bnote.ts
index 16461c35fb..edb7f67e3c 100644
--- a/src/becca/entities/bnote.ts
+++ b/src/becca/entities/bnote.ts
@@ -1666,7 +1666,7 @@ class BNote extends AbstractBeccaEntity<BNote> {
getPojo(): NotePojo {
return {
noteId: this.noteId,
- title: this.title || undefined,
+ title: this.title,
isProtected: this.isProtected,
type: this.type,
mime: this.mime,