From 8132ac6d762b96bbf9ec9978c23b91478ee53036 Mon Sep 17 00:00:00 2001 From: Rula Abu Hasna Date: Wed, 7 Feb 2024 16:12:15 +0100 Subject: [PATCH] fix the repeated notifications bug --- core/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/core/views.py b/core/views.py index a5d01e0..764a15d 100644 --- a/core/views.py +++ b/core/views.py @@ -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(