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

Method getProject

packages/cli-v3/src/apiClient.ts:65–76  ·  view source on GitHub ↗
(projectRef: string)

Source from the content-addressed store, hash-verified

63 }
64
65 async getProject(projectRef: string) {
66 if (!this.accessToken) {
67 throw new Error("getProject: No access token");
68 }
69
70 return wrapZodFetch(GetProjectResponseBody, `${this.apiURL}/api/v1/projects/${projectRef}`, {
71 headers: {
72 Authorization: `Bearer ${this.accessToken}`,
73 "Content-Type": "application/json",
74 },
75 });
76 }
77
78 async getProjects() {
79 if (!this.accessToken) {

Callers

nothing calls this directly

Calls 1

wrapZodFetchFunction · 0.85

Tested by

no test coverage detected