mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Merge pull request #1570 from bigchaindb/bug/1568/fix-statuses-error-msg
Fixed error message when GET /api/v1/statuses
This commit is contained in:
commit
6c4b7e4373
@ -26,7 +26,7 @@ class StatusApi(Resource):
|
||||
|
||||
# logical xor - exactly one query argument required
|
||||
if bool(tx_id) == bool(block_id):
|
||||
return make_error(400, 'Provide exactly one query parameter. Choices are: block_id, tx_id')
|
||||
return make_error(400, 'Provide exactly one query parameter. Choices are: block_id, transaction_id')
|
||||
|
||||
pool = current_app.config['bigchain_pool']
|
||||
status = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user