refactor(user_api_key_auth.py): move is_route_allowed to inside common_checks

ensures consistent behaviour inside api key + jwt routes
This commit is contained in:
Krrish Dholakia 2025-03-21 17:21:07 -07:00
parent a23a7e1486
commit c7f42747bf
5 changed files with 167 additions and 155 deletions

View file

@ -24,7 +24,6 @@ class RouteChecks:
route: str,
request: Request,
valid_token: UserAPIKeyAuth,
api_key: str,
request_data: dict,
):
"""