Skip to content

Commit

Permalink
remove usage of jsonify to fix return payload from swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
pymonger committed Mar 8, 2018
1 parent 9fd6f32 commit 31956e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grq2/lib/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ def update(update_json):

app.logger.debug("%s" % json.dumps(ret, indent=2))

return jsonify({
return {
'success': True,
'message': ret,
'objectid': update_json['id'],
'index': index,
})
}

0 comments on commit 31956e9

Please sign in to comment.