MCPcopy Create free account
hub / github.com/EsperoTech/yaade / updateScript

Function updateScript

client/src/api/index.tsx:185–190  ·  view source on GitHub ↗
(script: Script | CurrentScript)

Source from the content-addressed store, hash-verified

183 });
184
185const updateScript = (script: Script | CurrentScript): Promise<Response> =>
186 fetch(BASE_PATH + 'api/scripts', {
187 method: 'PUT',
188 headers: DEFAULT_HEADERS,
189 body: JSON.stringify(script),
190 });
191
192const moveScript = (
193 id: number,

Callers 1

DashboardFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected