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

Function getProviderConfig

apps/sim/lib/webhooks/provider-subscription-utils.ts:11–13  ·  view source on GitHub ↗
(webhook: Record<string, unknown>)

Source from the content-addressed store, hash-verified

9
10/** Safely read a webhook row's provider config as a plain object. */
11export function getProviderConfig(webhook: Record<string, unknown>): Record<string, unknown> {
12 return (webhook.providerConfig as Record<string, unknown>) || {}
13}
14
15/** Build the public callback URL providers should deliver webhook events to. */
16export function getNotificationUrl(webhook: Record<string, unknown>): string {

Callers 15

createSubscriptionFunction · 0.90
deleteSubscriptionFunction · 0.90
createSubscriptionFunction · 0.90
deleteSubscriptionFunction · 0.90
createSubscriptionFunction · 0.90
deleteSubscriptionFunction · 0.90
createSubscriptionFunction · 0.90
deleteSubscriptionFunction · 0.90
deleteSubscriptionFunction · 0.90
createSubscriptionFunction · 0.90
deleteSubscriptionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected