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

Method #apiUrl

integrations/shopify/src/webhooks.ts:16–19  ·  view source on GitHub ↗
(client: NonNullable<Shopify["_client"]>)

Source from the content-addressed store, hash-verified

14 constructor(private runTask: ShopifyRunTask) {}
15
16 #apiUrl(client: NonNullable<Shopify["_client"]>) {
17 const { apiVersion, hostName } = client.config;
18 return new URL(`/admin/api/${apiVersion}/`, `https://${hostName}`);
19 }
20
21 // just an example using raw fetch with error handling
22 #createWithFetch(

Callers 1

#createWithFetchMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected