From 0205ff14f654cae32d0b12854dc518e73ead0195 Mon Sep 17 00:00:00 2001 From: Florian Date: Thu, 12 Nov 2026 09:08:08 +0100 Subject: [PATCH] Don't create a nested message, fool --- pyproject.toml | 2 +- send_notifications/send_notification.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2158bc9..5486899 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "lib-send-notifications" -version = "0.2.0" +version = "0.2.1" description = "Shared library to send notifications via the internal backend API" requires-python = ">=3.10" authors = [{ name = "Florian Gänsejunge" }] diff --git a/send_notifications/send_notification.py b/send_notifications/send_notification.py index cc64f85..79623e9 100644 --- a/send_notifications/send_notification.py +++ b/send_notifications/send_notification.py @@ -181,7 +181,7 @@ class NotificationClient: } payload = { "user_id": user_id, - "message": {"message": message.to_dict()}, + "message": {message.to_dict()}, } logger.debug("Sending notification: title=%r body=%r", title, body)