server: Fix empty note titles (closes #205)

pull/212/head
Elian Doran 2024-07-14 20:50:42 +07:00
parent 3d423d25f8
commit 2e8b2d4b81
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

@ -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,