mirror of
https://github.com/PaiGramTeam/SIMNet.git
synced 2024-11-21 21:58:05 +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:
|
||||
self.status_code = status_code
|
||||
if response is not None:
|
||||
ret_code = response.get("ret_code")
|
||||
ret_code = response.get("retcode")
|
||||
if ret_code is not None:
|
||||
self.ret_code = ret_code
|
||||
response_message = response.get("message")
|
||||
|
Loading…
Reference in New Issue
Block a user