feat: updated the triggerWebhook function

This commit is contained in:
Catalin Pit
2024-02-26 12:52:30 +02:00
parent 5805d8a903
commit 15c22d3897
4 changed files with 8 additions and 15 deletions

View File

@ -47,7 +47,7 @@ export default function WebhookPage() {
<div className="flex items-center justify-between gap-x-4">
<div>
<h4 className="text-lg font-semibold">Webhook URL</h4>
<p className="text-muted-foreground">{webhook.webhookUrl}</p>
<p className="text-muted-foreground break-all">{webhook.webhookUrl}</p>
<h4 className="mt-4 text-lg font-semibold">Event triggers</h4>
{webhook.eventTriggers.map((trigger, index) => (
<span key={index} className="text-muted-foreground flex flex-row items-center">