NOT-fix
This commit is contained in:
parent
b0e4a84a5e
commit
c17ff75df7
|
@ -67,7 +67,7 @@ async def get_notifications_grouped(author_id: int, after: int = 0, limit: int =
|
|||
and_(
|
||||
Notification.action == NotificationAction.CREATE.value,
|
||||
Notification.created_at > after,
|
||||
is_not(Notification.seen)
|
||||
~Notification.seen
|
||||
)
|
||||
).count()
|
||||
notifications_result = session.execute(query)
|
||||
|
|
Loading…
Reference in New Issue
Block a user