mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-03 12:06:58 +01:00
Fix bug
This commit is contained in:
parent
6a30d32e7d
commit
dc82203e9b
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ export class UserRepository extends Repository<User> {
|
||||||
}).then(count => count > 0),
|
}).then(count => count > 0),
|
||||||
hasUnreadNotification: Notifications.count({
|
hasUnreadNotification: Notifications.count({
|
||||||
where: {
|
where: {
|
||||||
userId: user.id,
|
notifieeId: user.id,
|
||||||
isRead: false
|
isRead: false
|
||||||
},
|
},
|
||||||
take: 1
|
take: 1
|
||||||
|
|
Loading…
Reference in a new issue