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

Function deleteScript

client/src/api/index.tsx:206–209  ·  view source on GitHub ↗
(id: number)

Source from the content-addressed store, hash-verified

204 });
205
206const deleteScript = (id: number): Promise<Response> =>
207 fetch(BASE_PATH + `api/scripts/${id}`, {
208 method: 'DELETE',
209 });
210
211const runScript = (script: Script, envName?: string): Promise<Response> =>
212 fetch(BASE_PATH + `api/run-script`, {

Callers 1

CollectionScriptFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected