DB migration should convert only "perfect candidates" to attachments

This commit is contained in:
zadam
2023-07-14 18:24:15 +02:00
parent 4d00404f55
commit 2dac6ab281
3 changed files with 11 additions and 9 deletions

View File

@@ -232,7 +232,7 @@ function convertNoteToAttachment(req) {
const note = becca.getNoteOrThrow(noteId);
return {
attachment: note.convertToParentAttachment({ force: true })
attachment: note.convertToParentAttachment()
};
}