mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
DB migration should convert only "perfect candidates" to attachments
This commit is contained in:
@@ -232,7 +232,7 @@ function convertNoteToAttachment(req) {
|
||||
const note = becca.getNoteOrThrow(noteId);
|
||||
|
||||
return {
|
||||
attachment: note.convertToParentAttachment({ force: true })
|
||||
attachment: note.convertToParentAttachment()
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user