diff --git a/notifications_consumer/processors/email_gateway/processor.py b/notifications_consumer/processors/email_gateway/processor.py index c4efc06294c4e0dfbe8109cfa53ac36fe35c0cce..71a0decbdabfe9489354f5a8975d510f1f8bc45f 100644 --- a/notifications_consumer/processors/email_gateway/processor.py +++ b/notifications_consumer/processors/email_gateway/processor.py @@ -82,14 +82,12 @@ class MailGatewayProcessor(Processor): def send_notification(content, subject, channel_id, priority, sender): """Send Notification to Backend.""" message = { - "notification": { - "body": content, - "summary": subject, - "target": channel_id, - "priority": priority, - "sender": sender, - "source": Config.NOTIFICATION_SOURCE, - } + "body": content, + "summary": subject, + "target": channel_id, + "priority": priority, + "sender": sender, + "source": Config.NOTIFICATION_SOURCE, } return requests.post(