fix FNote.getContent() #4210

This commit is contained in:
zadam 2023-09-05 22:02:26 +02:00
parent 121e4ba2ea
commit 641985737f

View File

@ -120,10 +120,9 @@ class FNote {
}
async getContent() {
// we're not caching content since these objects are in froca and as such pretty long-lived
const note = await server.get(`notes/${this.noteId}`);
const blob = await this.getBlob();
return note.content;
return blob?.content;
}
async getJsonContent() {