mirror of
https://github.com/MAGICGrants/autoforward-autoconvert.git
synced 2026-01-09 21:48:04 -05:00
fix: correctly return result for kraken request
This commit is contained in:
@@ -132,7 +132,7 @@ def kraken_request(path: str, payload = {}) -> dict:
|
||||
|
||||
response_json = response.json()
|
||||
|
||||
if response_json["error"]:
|
||||
if response_json['error']:
|
||||
raise Exception(response_json)
|
||||
|
||||
return response_json
|
||||
return response_json['result']
|
||||
|
||||
Reference in New Issue
Block a user