( providerConfig: unknown, userId: string, workspaceId?: string )
| 36 | * Resolves environment variable references inside a webhook provider config object. |
| 37 | */ |
| 38 | export async function resolveWebhookProviderConfig( |
| 39 | providerConfig: unknown, |
| 40 | userId: string, |
| 41 | workspaceId?: string |
| 42 | ): Promise<Record<string, unknown>> { |
| 43 | return resolveEnvVarsInObject(normalizeWebhookProviderConfig(providerConfig), userId, workspaceId) |
| 44 | } |
| 45 | |
| 46 | /** |
| 47 | * Clones a webhook-like record with its provider config resolved for runtime use. |
no test coverage detected