Fixed it being an unhashable dict
This commit is contained in:
1 parent
0205ff14f6
commit
6654e312b6
2 files changed
+3
-3
No files matched your search
@@ -181,7 +181,7 @@ class NotificationClient:
|
||||
}
|
||||
payload = {
|
||||
"user_id": user_id,
|
||||
"message": {message.to_dict()},
|
||||
"message": message.to_dict(exclude_none=True),
|
||||
}
|
||||
|
||||
logger.debug("Sending notification: title=%r body=%r", title, body)
|
||||
|
||||
Reference in new issue
Block a user