(test) expired key prisma

This commit is contained in:
ishaan-jaff 2024-01-17 13:24:15 -08:00
parent 5f7a89d2e7
commit a0eec51ee6
2 changed files with 35 additions and 1 deletions

View file

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