mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-20 02:51:27 +00:00
fix: 钉钉报错的时取得字段不对
This commit is contained in:
@@ -38,6 +38,7 @@ class URL:
|
|||||||
|
|
||||||
class DingTalkRequests(BaseRequest):
|
class DingTalkRequests(BaseRequest):
|
||||||
invalid_token_errcodes = (ErrorCode.INVALID_TOKEN,)
|
invalid_token_errcodes = (ErrorCode.INVALID_TOKEN,)
|
||||||
|
msg_key = 'errmsg'
|
||||||
|
|
||||||
def __init__(self, appid, appsecret, agentid, timeout=None):
|
def __init__(self, appid, appsecret, agentid, timeout=None):
|
||||||
self._appid = appid or ''
|
self._appid = appid or ''
|
||||||
|
Reference in New Issue
Block a user