1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-02 22:35:53 +02:00
This commit is contained in:
syuilo
2019-04-08 00:24:01 +09:00
parent 6a30d32e7d
commit dc82203e9b

View File

@@ -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