Don't create a nested message, fool

This commit is contained in:
florian committed 2026-11-12 09:08:08 +01:00
1 parent b5c5717c6f
commit 0205ff14f6
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
[project] [project]
name = "lib-send-notifications" name = "lib-send-notifications"
version = "0.2.0" version = "0.2.1"
description = "Shared library to send notifications via the internal backend API" description = "Shared library to send notifications via the internal backend API"
requires-python = ">=3.10" requires-python = ">=3.10"
authors = [{ name = "Florian Gänsejunge" }] authors = [{ name = "Florian Gänsejunge" }]
+1 -1
View File
@@ -181,7 +181,7 @@ class NotificationClient:
} }
payload = { payload = {
"user_id": user_id, "user_id": user_id,
"message": {"message": message.to_dict()}, "message": {message.to_dict()},
} }
logger.debug("Sending notification: title=%r body=%r", title, body) logger.debug("Sending notification: title=%r body=%r", title, body)