Update backend/app/api/board_webhooks.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Hugh Brown
2026-03-03 16:58:03 -07:00
committed by Abhimanyu Saharan
parent cd7e411b3e
commit 3ca0931c72

View File

@@ -70,7 +70,7 @@ def _to_webhook_read(webhook: BoardWebhook) -> BoardWebhookRead:
agent_id=webhook.agent_id,
description=webhook.description,
enabled=webhook.enabled,
has_secret=webhook.secret is not None,
has_secret=bool(webhook.secret),
endpoint_path=endpoint_path,
endpoint_url=_webhook_endpoint_url(endpoint_path),
created_at=webhook.created_at,