Fix for notifications showing up to the wrong users

This commit is contained in:
Jesse Wierzbinski 2024-04-08 15:49:33 -10:00
parent 1438387362
commit ba19eda09d
No known key found for this signature in database

View file

@ -72,7 +72,8 @@ export default apiRoute<{
gte: since_id ?? undefined,
gt: min_id ?? undefined,
},
accountId: account_id,
notifiedId: user.id,
accountId: account_id || undefined,
},
include: {
account: {