returning msg on creation

This commit is contained in:
Aran Zaiger 2015-08-02 20:38:23 +03:00
parent 6f521efadb
commit e475585e76

View file

@ -92,8 +92,9 @@ def createMessage(token):
db.put(msg) db.put(msg)
db.save db.save
return created() return Response(response=json.dumps(msg),
status=200,
mimetype="application/json")