server: Fix empty note titles (closes #205)

This commit is contained in:
Elian Doran
2024-07-14 20:50:42 +03:00
parent 3d423d25f8
commit 2e8b2d4b81

View File

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