mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-11-12 21:58:39 +00:00
fix: 企业微信&钉钉解绑报错
This commit is contained in:
@@ -21,7 +21,7 @@ class DingTalkQRUnBindBase(APIView):
|
||||
if not user.dingtalk_id:
|
||||
raise errors.DingTalkNotBound
|
||||
|
||||
user.dingtalk_id = ''
|
||||
user.dingtalk_id = None
|
||||
user.save()
|
||||
return Response()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user