Skip to content

Commit

Permalink
fix the repeated notifications bug
Browse files Browse the repository at this point in the history
  • Loading branch information
RulaKhaled committed Feb 7, 2024
1 parent 6c50a56 commit 8132ac6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def post(self, request, format=None):
unfurl_links=False,
)
notification_status.message_timestamp = response["ts"]
notification_status.status = "success"
notification_status.save()

logger.info(
Expand Down

0 comments on commit 8132ac6

Please sign in to comment.