Schemas updated
This commit is contained in:
@@ -1,12 +1,8 @@
|
||||
from fastapi import Request, Response
|
||||
|
||||
|
||||
def get_safe_endpoint_urls() -> list:
|
||||
return []
|
||||
from ApiServices.TemplateService.endpoints.routes import get_safe_endpoint_urls
|
||||
|
||||
|
||||
async def token_middleware(request: Request, call_next):
|
||||
# from application.routes.routes import get_safe_endpoint_urls
|
||||
|
||||
base_url = "/".join(request.url.path.split("/")[:3])
|
||||
safe_endpoints = [_[0] for _ in get_safe_endpoint_urls()]
|
||||
|
||||
Reference in New Issue
Block a user