mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 00:43:49 +01:00
[backend] Fix notifications not loading correctly
This fixes a regression introduced in a6fa393359
This commit is contained in:
parent
661c31db0c
commit
a5b30a6adc
@ -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 New Issue
Block a user