diff --git a/SE_API/MessageRoutes.py b/SE_API/MessageRoutes.py index 5942b85..cb3eee1 100644 --- a/SE_API/MessageRoutes.py +++ b/SE_API/MessageRoutes.py @@ -92,8 +92,9 @@ def createMessage(token): db.put(msg) db.save - return created() - + return Response(response=json.dumps(msg), + status=200, + mimetype="application/json")