summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjdlugosz963 <jdlugosz963@gmail.com>2021-12-16 07:02:10 +0100
committerjdlugosz963 <jdlugosz963@gmail.com>2021-12-16 07:02:10 +0100
commit217e4f1c337d61f056ab5fda460c6c379a89c283 (patch)
tree5cb777645876ed66f09318a236b3e4a5a8130f2f
parent1467d965dc8f428dc1946a1f4f7c0e749b20e570 (diff)
downloadlom_api-master.tar.gz
lom_api-master.zip
Repair api bug (post messages)HEADmaster
-rw-r--r--chat_api/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/chat_api/views.py b/chat_api/views.py
index 6783eba..a8844ad 100644
--- a/chat_api/views.py
+++ b/chat_api/views.py
@@ -114,4 +114,6 @@ class GmsView(APIView):
114 serializer.is_valid(raise_exception=True) 114 serializer.is_valid(raise_exception=True)
115 serializer.save() 115 serializer.save()
116 116
117 serializer = GmSerializer(serializer.instance)
118
117 return Response(serializer.data) 119 return Response(serializer.data)