diff --git a/packages/backend/src/server/api/common/getters.ts b/packages/backend/src/server/api/common/getters.ts index e4045fda81..b3259d2035 100644 --- a/packages/backend/src/server/api/common/getters.ts +++ b/packages/backend/src/server/api/common/getters.ts @@ -44,7 +44,10 @@ export async function getNote( note = candidate; } } - } else { + } + + // For legacy notes + if (!note) { const query = Notes.createQueryBuilder("note").where("note.id = :id", { id: noteId, });