MCPcopy Create free account
hub / github.com/xerrors/Yuxi / updateSkillEnabled

Function updateSkillEnabled

web/src/apis/skill_api.js:81–83  ·  view source on GitHub ↗
(slug, enabled)

Source from the content-addressed store, hash-verified

79}
80
81export const updateSkillEnabled = async (slug, enabled) => {
82 return apiPut(`${BASE_URL}/${encodeURIComponent(slug)}/enabled`, { enabled })
83}
84
85export const deleteSkillFile = async (slug, path) => {
86 return apiDelete(`${BASE_URL}/${encodeURIComponent(slug)}/file?path=${encodeURIComponent(path)}`)

Callers

nothing calls this directly

Calls 1

apiPutFunction · 0.90

Tested by

no test coverage detected