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

Add method to NO_AUTHORIZATION_ROUTES #1197

Conversation

DEVTomatoCake
Copy link
Member

NO_AUTHORIZATION_ROUTES previously only checked the request path. This PR makes it check the HTTP method too.

By doing that, the GET /api/invite/<code> endpoint is now displayed correctly as "no authorization required".

I've also renamed scheduled-maintenances/upcoming_json.ts to scheduled-maintenances/upcoming.json.ts to fix the path, the current one /scheduled-maintenances/upcoming_json/scheduled-maintenances/upcoming.json is broken.

@MaddyUnderStars MaddyUnderStars merged commit e3707e6 into spacebarchat:master Aug 24, 2024
3 checks passed
@DEVTomatoCake DEVTomatoCake deleted the feat/improve-no-authorization-routes branch August 24, 2024 07:52
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.

2 participants