From 583349a606ed269af63f941c58b81c097789f7da Mon Sep 17 00:00:00 2001
From: Taha Cherfia <taha.cherfia@holi.team>
Date: Fri, 28 Feb 2025 18:27:49 +0100
Subject: [PATCH] HOLI-11083: fix email integration identifier

---
 openbook_notifications/notifications.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openbook_notifications/notifications.py b/openbook_notifications/notifications.py
index ed4d65111..423e6f00b 100644
--- a/openbook_notifications/notifications.py
+++ b/openbook_notifications/notifications.py
@@ -107,7 +107,7 @@ class Notification:
         }
 
         if email_identifier:
-            self.overrides["integrationIdentifier"] = email_identifier.value
+            self.overrides["email"] = {"integrationIdentifier": email_identifier.value}
 
     def send(self):
         if not self.recipients:
-- 
GitLab