From 2e8b2d4b81f2b42f5c64205fc0a193bf0dde4348 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 14 Jul 2024 20:50:42 +0300 Subject: [PATCH] server: Fix empty note titles (closes #205) --- src/becca/entities/bnote.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/becca/entities/bnote.ts b/src/becca/entities/bnote.ts index 16461c35f..edb7f67e3 100644 --- a/src/becca/entities/bnote.ts +++ b/src/becca/entities/bnote.ts @@ -1666,7 +1666,7 @@ class BNote extends AbstractBeccaEntity { getPojo(): NotePojo { return { noteId: this.noteId, - title: this.title || undefined, + title: this.title, isProtected: this.isProtected, type: this.type, mime: this.mime,