Skip to content

Commit 1dca6f1

Browse files
committed
fix: format
1 parent 4ab4f53 commit 1dca6f1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/adcp/client.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -983,8 +983,10 @@ async def _handle_mcp_webhook(
983983
from adcp.types.generated_poc.core.mcp_webhook_payload import McpWebhookPayload
984984

985985
# Verify signature before processing (requires both signature and timestamp)
986-
if signature and timestamp and not self._verify_webhook_signature(
987-
payload, signature, timestamp
986+
if (
987+
signature
988+
and timestamp
989+
and not self._verify_webhook_signature(payload, signature, timestamp)
988990
):
989991
logger.warning(
990992
f"Webhook signature verification failed for agent {self.agent_config.id}"

0 commit comments

Comments
 (0)