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

Method updateSchedule

packages/core/src/v3/apiClient/index.ts:293–299  ·  view source on GitHub ↗
(scheduleId: string, options: UpdateScheduleOptions)

Source from the content-addressed store, hash-verified

291 }
292
293 updateSchedule(scheduleId: string, options: UpdateScheduleOptions) {
294 return zodfetch(ScheduleObject, `${this.baseUrl}/api/v1/schedules/${scheduleId}`, {
295 method: "PUT",
296 headers: this.#getHeaders(false),
297 body: JSON.stringify(options),
298 });
299 }
300
301 deactivateSchedule(scheduleId: string) {
302 return zodfetch(ScheduleObject, `${this.baseUrl}/api/v1/schedules/${scheduleId}/deactivate`, {

Callers 1

updateFunction · 0.80

Calls 2

#getHeadersMethod · 0.95
zodfetchFunction · 0.90

Tested by

no test coverage detected