Merge pull request #149 from sagidayan/API_Dev
returning msg on creation
This commit is contained in:
commit
f83aff5408
1 changed files with 3 additions and 2 deletions
|
@ -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")
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue