MCPcopy Index your code
hub / github.com/simstudioai/sim / handleProviderReachabilityTest

Function handleProviderReachabilityTest

apps/sim/lib/webhooks/processor.ts:197–204  ·  view source on GitHub ↗
(
  webhookRecord: { provider: string },
  body: unknown,
  requestId: string
)

Source from the content-addressed store, hash-verified

195 * Delegates to the provider handler registry.
196 */
197export 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.

Callers 1

handleWebhookPostFunction · 0.90

Calls 2

getProviderHandlerFunction · 0.90

Tested by

no test coverage detected