Updated rate limit feedback
This commit is contained in:
@@ -50,8 +50,7 @@ def create_application() -> FastAPI:
|
||||
status_code=429,
|
||||
content={
|
||||
"error": "Too Many Requests",
|
||||
"message": "Chill out! You've reached the rate limit. Please wait a moment before trying again.",
|
||||
"limit": str(exc.detail)
|
||||
"message": "Chill out! You've reached the rate limit. Please wait a moment before trying again."
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user