feat: format code
This commit is contained in:
@@ -57,6 +57,7 @@ def add_app_middlewares(app: FastAPI):
|
|||||||
|
|
||||||
response = await call_next(request)
|
response = await call_next(request)
|
||||||
return response
|
return response
|
||||||
|
|
||||||
@app.middleware("http")
|
@app.middleware("http")
|
||||||
async def catch_authorized(request: Request, call_next):
|
async def catch_authorized(request: Request, call_next):
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user