From edd1593c434822addfd98df20c1e309851832024 Mon Sep 17 00:00:00 2001 From: Horilla Date: Tue, 26 Mar 2024 14:19:06 +0530 Subject: [PATCH] [UPDT] NOTIFICATIONS: Updated notification save method by assigning values verbs --- notifications/base/models.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/notifications/base/models.py b/notifications/base/models.py index d7407530d..8f698e01d 100755 --- a/notifications/base/models.py +++ b/notifications/base/models.py @@ -321,7 +321,10 @@ def notify_handler(verb, **kwargs): if kwargs and EXTRA_DATA: newnotify.data = kwargs - + newnotify.verb_ar = newnotify.data.get("verb_ar", None) + newnotify.verb_de = newnotify.data.get("verb_de", None) + newnotify.verb_es = newnotify.data.get("verb_es", None) + newnotify.verb_fr = newnotify.data.get("verb_fr", None) newnotify.save() new_notifications.append(newnotify)