Merge pull request #149 from sagidayan/API_Dev

returning msg on creation
This commit is contained in:
Sagi Dayan 2015-08-02 20:38:35 +03:00
commit f83aff5408

View file

@ -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")