MCPcopy
hub / github.com/triggerdotdev/trigger.dev / constructor

Method constructor

packages/cli-v3/src/apiClient.ts:26–31  ·  view source on GitHub ↗
(
    apiURL: string,
    private readonly accessToken?: string
  )

Source from the content-addressed store, hash-verified

24 private readonly apiURL: string;
25
26 constructor(
27 apiURL: string,
28 private readonly accessToken?: string
29 ) {
30 this.apiURL = apiURL.replace(/\/$/, "");
31 }
32
33 async createAuthorizationCode() {
34 return wrapZodFetch(

Callers

nothing calls this directly

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected