returning msg on creation
This commit is contained in:
parent
6f521efadb
commit
e475585e76
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