add back .isDeleted property to becca's note, branch and attribute entities for BC, fixes #2268

This commit is contained in:
zadam
2021-10-31 21:03:26 +01:00
parent ec4d445f97
commit 5978447185
6 changed files with 32 additions and 6 deletions

View File

@@ -147,7 +147,7 @@ function updateNoteAttributes(req) {
if (incAttr.type === 'relation') {
const targetNote = becca.getNote(incAttr.value);
if (!targetNote || targetNote.isDeleted) {
if (!targetNote) {
log.error(`Target note of relation ${JSON.stringify(incAttr)} does not exist or is deleted`);
continue;
}