diff --git a/messaging/views.py b/messaging/views.py index 97b2831..a9d04d9 100644 --- a/messaging/views.py +++ b/messaging/views.py @@ -235,8 +235,8 @@ def post(self, request, *args, **kwargs): break message_data = { - "message_id": message["message_id"] - "content": message["content"] + "message_id": message["message_id"], + "content": message["content"], "channel_id": message["channel_id"] } messages.append(Message(**message_data))