From 5040f8dee7cc5020bf636ae03bf59586c0ce8466 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sat, 1 Mar 2025 13:11:07 +0100 Subject: [PATCH] Fix FastAPI Header annotation --- src/runboat/webhooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runboat/webhooks.py b/src/runboat/webhooks.py index f3e5cbc..61c8f25 100644 --- a/src/runboat/webhooks.py +++ b/src/runboat/webhooks.py @@ -33,7 +33,7 @@ async def receive_payload( background_tasks: BackgroundTasks, request: Request, x_github_event: Annotated[str, Header(...)], - x_hub_signature_256: Annotated[str | None, Header(None)], + x_hub_signature_256: Annotated[str | None, Header(...)] = None, ) -> None: body = await request.body() if not _verify_github_signature(