mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 01:13:48 +01:00
Fix bug
This commit is contained in:
parent
3747f9cc77
commit
a40cf94b4d
@ -140,7 +140,7 @@ export class UserRepository extends Repository<User> {
|
||||
}).then(count => count > 0),
|
||||
hasUnreadNotification: Notifications.count({
|
||||
where: {
|
||||
userId: user.id,
|
||||
notifieeId: user.id,
|
||||
isRead: false
|
||||
},
|
||||
take: 1
|
||||
|
Loading…
Reference in New Issue
Block a user