update-auth-connector
All checks were successful
deploy / deploy (push) Successful in 1m19s

This commit is contained in:
2023-12-14 01:05:45 +03:00
parent 7c29940df4
commit 89550724fd
2 changed files with 62 additions and 23 deletions

View File

@@ -34,7 +34,7 @@ class NotificationsResult:
total: int
def get_notifications(author_id, session, limit, offset) -> List[Notification]:
def get_notifications(author_id: int, session, limit: int, offset: int) -> List[Notification]:
NotificationSeenAlias = aliased(NotificationSeen)
query = (
select(NotificationMessage, NotificationSeenAlias.viewer.label("seen"))