Skip to content

Commit 0a15a53

Browse files
committed
[DOP-22034] Disable X-REQUEST-ID validation warnings
1 parent 584c993 commit 0a15a53

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

syncmaster/backend/middlewares/request_id.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ def apply_request_id_middleware(app: FastAPI, settings: RequestIDSettings) -> Fa
1515
app.add_middleware(
1616
CorrelationIdMiddleware,
1717
generator=lambda: uuid7().hex,
18+
validator=None,
1819
**settings.dict(exclude={"enabled"}),
1920
)
2021
return app

0 commit comments

Comments
 (0)