diff --git a/packages/backend/src/server/api/endpoints/announcements.ts b/packages/backend/src/server/api/endpoints/announcements.ts index 72a80f7700..d1a71ffe38 100644 --- a/packages/backend/src/server/api/endpoints/announcements.ts +++ b/packages/backend/src/server/api/endpoints/announcements.ts @@ -99,10 +99,6 @@ export default class extends Endpoint { query.orWhere('announcement."userId" = :userId', { userId: me.id }); } } else { - query.select([ - 'announcement.*', - 'FALSE as "isRead"', - ]); query.where('announcement."userId" IS NULL'); }