Skip to content
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.

Commit

Permalink
task/189 fix after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
vanvanich9 committed Nov 24, 2023
1 parent 13bfc9c commit b63c0bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sapphire/notifications/api/rest/notifications/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async def get_notifications(
)

total_pages = -(total_notifications // -pagination.per_page)
notifications = [Notification.model_validate(notification) for notification in notifications]
notifications = [NotificationResponse.model_validate(notification) for notification in notifications]

return NotificationListResponse(
data=notifications,
Expand Down

0 comments on commit b63c0bd

Please sign in to comment.