Skip to content

Commit d994dcc

Browse files
authored
fix: use endpoint from event
1 parent ce57c4e commit d994dcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WebhookRegistry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public function trigger(string $event, array $payload = []): void
149149
continue;
150150
}
151151

152-
$this->dispatchWebhook($endpoint, $endpoint->getWebhookPayload($event, $payload));
152+
$this->dispatchWebhook($event->endpoint, $event->endpoint->getWebhookPayload($event, $payload));
153153
}
154154
}
155155

0 commit comments

Comments
 (0)