mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
(test) expired key prisma
This commit is contained in:
parent
5f7a89d2e7
commit
a0eec51ee6
2 changed files with 35 additions and 1 deletions
|
@ -370,7 +370,7 @@ async def user_api_key_auth(
|
|||
# Token exists but is expired.
|
||||
raise HTTPException(
|
||||
status_code=status.HTTP_403_FORBIDDEN,
|
||||
detail="expired user key",
|
||||
detail=f"Authentication Error - Expired Key. Key Expiry time {expiry_time} and current time {current_time}",
|
||||
)
|
||||
|
||||
# Token passed all checks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue