mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-27 22:39:33 +09:00
Revert "fix: 非ログイン状態でお知らせの読み込みができない問題の修正 (#131)"
This reverts commit 233d967b82
.
This commit is contained in:
parent
c378781e0b
commit
eeef3965b7
@ -99,10 +99,6 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
|
|||||||
query.orWhere('announcement."userId" = :userId', { userId: me.id });
|
query.orWhere('announcement."userId" = :userId', { userId: me.id });
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
query.select([
|
|
||||||
'announcement.*',
|
|
||||||
'FALSE as "isRead"',
|
|
||||||
]);
|
|
||||||
query.where('announcement."userId" IS NULL');
|
query.where('announcement."userId" IS NULL');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user