mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
(fix) proxy check expires time
This commit is contained in:
parent
92093dd45a
commit
87ff4ca55c
2 changed files with 12 additions and 1 deletions
|
@ -374,6 +374,8 @@ class PrismaClient:
|
|||
)
|
||||
print_verbose(f"PrismaClient: response={response}")
|
||||
if response is not None:
|
||||
# for prisma we need to cast the expires time to str
|
||||
response.expires = response.expires.isoformat()
|
||||
return response
|
||||
else:
|
||||
# Token does not exist.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue