fix: fallback to postgres
This commit is contained in:
parent
f68f20efe6
commit
f4dffc6d72
1 changed files with 4 additions and 1 deletions
|
@ -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,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue