schema-fix
All checks were successful
deploy / deploy (push) Successful in 1m17s

This commit is contained in:
2023-11-26 15:37:22 +03:00
parent 6134b02c4a
commit 391958e60c
3 changed files with 8 additions and 15 deletions

View File

@@ -24,13 +24,6 @@ class Notification:
occurrences: int
@strawberry.type
class NotificationsQueryResult:
notifications: list[Notification]
unread: int
total: int
@strawberry.type
class NotificationSeenResult:
error: str
@@ -40,7 +33,7 @@ class NotificationSeenResult:
class NotificationsResult:
notifications: List[Notification]
unread: int
total: int
def notification_seen_by_viewer(viewer_id, notification_id, session):
seen = (