fixed search parser tests

This commit is contained in:
zadam
2023-09-05 22:48:20 +02:00
parent f9a27dd90c
commit f8e4a665bd
5 changed files with 234 additions and 180 deletions

View File

@@ -148,10 +148,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() {