Skip to content

Commit

Permalink
forgot a return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
vcai122 committed Nov 19, 2024
1 parent 1319fdb commit e18f4c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/user/notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def dict(self):
result = super().dict()
if self.urgent:
result["aps"]["interruption-level"] = "time-sensitive"
return result

Check warning on line 98 in backend/user/notifications.py

View check run for this annotation

Codecov / codecov/patch

backend/user/notifications.py#L95-L98

Added lines #L95 - L98 were not covered by tests

@staticmethod
def get_client(is_dev):
Expand Down

0 comments on commit e18f4c6

Please sign in to comment.