fix: 对话API调用,输出报错 #192 (#200)

This commit is contained in:
shaohuzhang1 2024-04-22 13:52:46 +08:00 committed by GitHub
parent 35c1078e1f
commit df54fd2b54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,7 +34,7 @@ class ApplicationKey(AuthBaseHandle):
return application_api_key.user, Auth(role_list=[RoleConstants.APPLICATION_KEY],
permission_list=permission_list,
application_id=application_api_key.application_id,
client_id=token,
client_id=str(application_api_key.id),
client_type=AuthenticationType.API_KEY.value)
def support(self, request, token: str, get_token_details):