fix: 修复获取系统用户密码问题

pull/7010/head
Eric 3 years ago committed by 老广
parent 63ca2ab182
commit b8c43f5944

@ -16,7 +16,6 @@ from ..tasks import (
push_system_user_to_assets
)
logger = get_logger(__file__)
__all__ = [
'SystemUserViewSet', 'SystemUserAuthInfoApi', 'SystemUserAssetAuthInfoApi',
@ -91,7 +90,7 @@ class SystemUserAssetAuthInfoApi(generics.RetrieveAPIView):
asset_id = self.kwargs.get('asset_id')
user_id = self.request.query_params.get("user_id")
username = self.request.query_params.get("username")
instance.load_asset_more_auth(asset_id, user_id, username)
instance.load_asset_more_auth(asset_id, username, user_id)
return instance

Loading…
Cancel
Save