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

Function resolveObjectType

apps/sim/lib/webhooks/polling/hubspot.ts:488–494  ·  view source on GitHub ↗
(config: HubSpotWebhookConfig)

Source from the content-addressed store, hash-verified

486}
487
488function resolveObjectType(config: HubSpotWebhookConfig): string {
489 const raw = config.objectType?.trim()
490 if (raw === 'custom') {
491 return config.customObjectTypeId?.trim() ?? ''
492 }
493 return raw ?? ''
494}
495
496function resolveRequestedProperties(
497 config: HubSpotWebhookConfig,

Callers 1

pollSearchBasedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected