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