mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
WIP blobs
This commit is contained in:
@@ -74,7 +74,7 @@ function dumpDocument(documentPath, targetPath, options) {
|
||||
return;
|
||||
}
|
||||
|
||||
let {content} = sql.getRow("SELECT content FROM note_contents WHERE noteId = ?", [noteId]);
|
||||
let {content} = sql.getRow("SELECT content FROM blobs WHERE blobId = ?", [note.blobId]);
|
||||
|
||||
if (content !== null && note.isProtected && dataKey) {
|
||||
content = decryptService.decrypt(dataKey, content);
|
||||
|
||||
Reference in New Issue
Block a user