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