mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-02-18 04:08:51 -06:00
fix FNote.getContent() #4210
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user