mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 01:47:39 -07:00
[backend] Fix notifications not loading correctly
This fixes a regression introduced in a6fa393359
This commit is contained in:
parent
661c31db0c
commit
a5b30a6adc
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ export const NotificationRepository = db.getRepository(Notification).extend({
|
|||
const myRenotes = await Notes.createQueryBuilder('note')
|
||||
.select('note.renoteId')
|
||||
.where('note.userId = :meId', { meId })
|
||||
.andWhere('note.renoteId IN array[:...targets]', { targets })
|
||||
.andWhere('note.renoteId IN (:...targets)', { targets })
|
||||
.getMany();
|
||||
|
||||
for (const target of targets) {
|
||||
|
|
Loading…
Reference in a new issue