mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
fix: download media before note export
This commit is contained in:
@@ -68,7 +68,8 @@ class Monographs {
|
||||
|
||||
const content = await this._db.content.downloadMedia(
|
||||
`monograph-${noteId}`,
|
||||
await this._db.content.raw(note.data.contentId)
|
||||
await this._db.content.raw(note.data.contentId),
|
||||
false
|
||||
);
|
||||
if (!content) throw new Error("This note has no content.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user