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

Method webhook

integrations/linear/src/webhooks.ts:33–45  ·  view source on GitHub ↗
(key: IntegrationTaskKey, params: { id: string })

Source from the content-addressed store, hash-verified

31 }
32
33 webhook(key: IntegrationTaskKey, params: { id: string }): LinearReturnType<Webhook> {
34 return this.runTask(
35 key,
36 async (client, task, io) => {
37 return serializeLinearOutput(await client.webhook(params.id));
38 },
39 {
40 name: "Get Webhook",
41 params,
42 properties: [{ label: "Webhook ID", text: params.id }],
43 }
44 );
45 }
46
47 webhooks(
48 key: IntegrationTaskKey,

Callers

nothing calls this directly

Calls 2

serializeLinearOutputFunction · 0.90
runTaskMethod · 0.45

Tested by

no test coverage detected