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

Function updateSkillShareConfig

web/src/apis/skill_api.js:75–79  ·  view source on GitHub ↗
(slug, shareConfig)

Source from the content-addressed store, hash-verified

73}
74
75export const updateSkillShareConfig = async (slug, shareConfig) => {
76 return apiPut(`${BASE_URL}/${encodeURIComponent(slug)}/share-config`, {
77 share_config: shareConfig
78 })
79}
80
81export const updateSkillEnabled = async (slug, enabled) => {
82 return apiPut(`${BASE_URL}/${encodeURIComponent(slug)}/enabled`, { enabled })

Callers

nothing calls this directly

Calls 1

apiPutFunction · 0.90

Tested by

no test coverage detected