mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-17 08:25:03 +00:00
fix(internal_user_endpoints.py): fix check
This commit is contained in:
@@ -239,7 +239,7 @@ async def new_user(
|
||||
else:
|
||||
raise e
|
||||
|
||||
special_keys = ["token"]
|
||||
special_keys = ["token", "token_id"]
|
||||
response_dict = {}
|
||||
for key, value in response.items():
|
||||
if key in NewUserResponse.model_fields.keys() and key not in special_keys:
|
||||
|
||||
Reference in New Issue
Block a user