(webhook: Record<string, unknown>)
| 14 | |
| 15 | /** Build the public callback URL providers should deliver webhook events to. */ |
| 16 | export function getNotificationUrl(webhook: Record<string, unknown>): string { |
| 17 | return `${getBaseUrl()}/api/webhooks/trigger/${webhook.path}` |
| 18 | } |
| 19 | |
| 20 | /** |
| 21 | * Resolve an OAuth-backed credential to the owning user and account. |
no test coverage detected