mirror of
https://github.com/PaiGramTeam/SIMNet.git
synced 2024-11-22 06:17:57 +00:00
🐛 Fix BadRequest ret code
This commit is contained in:
parent
9970561cf7
commit
e840edd614
@ -37,7 +37,7 @@ class BadRequest(ApiHelperException):
|
|||||||
if status_code is not None:
|
if status_code is not None:
|
||||||
self.status_code = status_code
|
self.status_code = status_code
|
||||||
if response is not None:
|
if response is not None:
|
||||||
ret_code = response.get("ret_code")
|
ret_code = response.get("retcode")
|
||||||
if ret_code is not None:
|
if ret_code is not None:
|
||||||
self.ret_code = ret_code
|
self.ret_code = ret_code
|
||||||
response_message = response.get("message")
|
response_message = response.get("message")
|
||||||
|
Loading…
Reference in New Issue
Block a user