Skip to content
Snippets Groups Projects
Unverified Commit 00f0817f authored by Samuel Guillemet's avatar Samuel Guillemet
Browse files

:ok_hand: IMPROVE: Modify severity of logs in verify_signature

parent ee157a30
No related branches found
No related tags found
1 merge request!6🚀 RELEASE: Bump to 0.1.3
...@@ -45,11 +45,11 @@ async def verify_webhook_signature( ...@@ -45,11 +45,11 @@ async def verify_webhook_signature(
# validate the request came from Zoom # validate the request came from Zoom
if x_zm_signature != signature: if x_zm_signature != signature:
logger.error("Invalid signature: %s != %s", x_zm_signature, signature) logger.warning("Invalid signature: %s != %s", x_zm_signature, signature)
raise HTTPException( raise HTTPException(
status_code=403, status_code=403,
detail="Invalid signature.", detail="Invalid signature.",
) )
BaseWebhookEvent.model_validate(body) BaseWebhookEvent.model_validate(body)
logger.info("Signature verified.") logger.debug("Signature verified.")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment