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
No known key found for this signature in database

View File

@ -1666,7 +1666,7 @@ class BNote extends AbstractBeccaEntity<BNote> {
getPojo(): NotePojo { getPojo(): NotePojo {
return { return {
noteId: this.noteId, noteId: this.noteId,
title: this.title || undefined, title: this.title,
isProtected: this.isProtected, isProtected: this.isProtected,
type: this.type, type: this.type,
mime: this.mime, mime: this.mime,