MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / update

Method update

integrations/airtable/src/webhooks.ts:184–195  ·  view source on GitHub ↗
(
    key: IntegrationTaskKey,
    {
      baseId,
      url,
      webhookId,
      options,
    }: { baseId: string; url: string; webhookId: string; options: WebhookSpecification }
  )

Source from the content-addressed store, hash-verified

182 }
183
184 async update(
185 key: IntegrationTaskKey,
186 {
187 baseId,
188 url,
189 webhookId,
190 options,
191 }: { baseId: string; url: string; webhookId: string; options: WebhookSpecification }
192 ) {
193 await this.delete(`${key}-delete`, { baseId, webhookId });
194 return await this.create(`${key}-create`, { baseId, url, options });
195 }
196}
197
198type AirtableEvents = (typeof events)[keyof typeof events];

Callers 1

updateRecordsMethod · 0.45

Calls 2

deleteMethod · 0.95
createMethod · 0.95

Tested by

no test coverage detected