(fix) proxy check expires time

This commit is contained in:
ishaan-jaff 2024-01-16 15:38:58 -08:00
parent 92093dd45a
commit 87ff4ca55c
2 changed files with 12 additions and 1 deletions

View file

@ -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.