diff --git a/packages/backend/src/server/api/common/getters.ts b/packages/backend/src/server/api/common/getters.ts index fd7580775..cfcb86d82 100644 --- a/packages/backend/src/server/api/common/getters.ts +++ b/packages/backend/src/server/api/common/getters.ts @@ -19,7 +19,7 @@ export async function getNote( const note = await query.getOne(); - if (note == null) { + if (note == null || (me == null && note.localOnly)) { throw new IdentifiableError( "9725d0ce-ba28-4dde-95a7-2cbb2c15de24", "No such note.",