(
webhookRecord: { provider: string },
body: unknown,
requestId: string
)
| 195 | * Delegates to the provider handler registry. |
| 196 | */ |
| 197 | export function handleProviderReachabilityTest( |
| 198 | webhookRecord: { provider: string }, |
| 199 | body: unknown, |
| 200 | requestId: string |
| 201 | ): NextResponse | null { |
| 202 | const handler = getProviderHandler(webhookRecord?.provider) |
| 203 | return handler.handleReachabilityTest?.(body, requestId) ?? null |
| 204 | } |
| 205 | |
| 206 | /** |
| 207 | * Format error response based on provider requirements. |
no test coverage detected