Add comment

This commit is contained in:
vrde 2016-02-24 14:08:01 +01:00
parent 3bfb6bc4c4
commit e6005b9fe0

View File

@ -17,6 +17,9 @@ def get_transaction(tx_id):
@basic_views.route('/tx/', methods=['POST'])
def create_transaction():
val = {}
# `force` will try to format the body of the POST request even if the `content-type` header is not
# set to `application/json`
tx = request.get_json(force=True)
if tx['transaction']['operation'] == 'CREATE':