Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2937 include link to rate limit form in rate limit error messages #694

Merged

Conversation

nutrina
Copy link
Collaborator

@nutrina nutrina commented Oct 14, 2024


from registry.management.commands.process_batch_model_address_upload import (
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this

@@ -102,7 +103,7 @@ def get_openapi_schema(self, path_prefix: Optional[str] = None) -> OpenAPISchema
def service_unavailable(request, _):
return registry_api_v1.create_response(
request,
{"detail": "You have been rate limited!"},
{"detail": get_passport_api_rate_limited_msg()},
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change to error

@nutrina nutrina merged commit b2c0fb3 into main Oct 15, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Include link to rate limit form in rate limit error messages
1 participant