This commit is contained in:
@@ -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 = (
|
||||
|
Reference in New Issue
Block a user