Skip to content

Commit 2b1a1e1

Browse files
committed
add one type ignore
1 parent 8c1470c commit 2b1a1e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/app/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def custom_generate_unique_id(route: APIRoute) -> str:
2222

2323
# Set all CORS enabled origins
2424
if settings.all_cors_origins:
25-
app.add_middleware(
25+
app.add_middleware( # type: ignore[arg-type]
2626
CORSMiddleware,
2727
allow_origins=settings.all_cors_origins,
2828
allow_credentials=True,

0 commit comments

Comments
 (0)