fix PR comments

This commit is contained in:
Yochai Lehman
2024-02-11 17:13:59 -05:00
parent a168defd28
commit 22d0c275d7
3 changed files with 6 additions and 2 deletions

View File

@ -91,6 +91,7 @@ async def handle_webhook(background_tasks: BackgroundTasks, request: Request):
)
# currently only basic auth is supported with azure webhooks
# for this reason, https must be enabled to ensure the credentials are not sent in clear text
def validate_basic_auth(request: Request):
auth = request.headers.get("Authorization")
if not auth: