Skip to content

Commit

Permalink
Notif typo forgot to pass urgent param (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
vcai122 authored Nov 19, 2024
1 parent 97387cd commit e0ad50c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/user/notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def send_one_notification(self, token, payload):

@shared_task(name="notifications.ios_send_notification")
def ios_send_notification(tokens, title, body, urgent):
IOSNotificationSender.send_notification(tokens, title, body)
IOSNotificationSender.send_notification(tokens, title, body, urgent)


@shared_task(name="notifications.ios_send_shadow_notification")
Expand All @@ -149,7 +149,7 @@ def ios_send_shadow_notification(tokens, body):

@shared_task(name="notifications.android_send_notification")
def android_send_notification(tokens, title, body, urgent):
AndroidNotificationSender.send_notification(tokens, title, body)
AndroidNotificationSender.send_notification(tokens, title, body, urgent)


@shared_task(name="notifications.android_send_shadow_notification")
Expand All @@ -159,7 +159,7 @@ def android_send_shadow_notification(tokens, body):

@shared_task(name="notifications.ios_send_dev_notification")
def ios_send_dev_notification(tokens, title, body, urgent):
IOSNotificationDevSender.send_notification(tokens, title, body)
IOSNotificationDevSender.send_notification(tokens, title, body, urgent)


@shared_task(name="notifications.ios_send_dev_shadow_notification")
Expand Down

0 comments on commit e0ad50c

Please sign in to comment.