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

Function discardSkillInstallDraft

web/src/apis/skill_api.js:38–40  ·  view source on GitHub ↗
(draftId)

Source from the content-addressed store, hash-verified

36}
37
38export const discardSkillInstallDraft = async (draftId) => {
39 return apiDelete(`${USER_BASE_URL}/install-drafts/${encodeURIComponent(draftId)}`)
40}
41
42export const getSkillDependencyOptions = async (slug) => {
43 const query = slug ? `?slug=${encodeURIComponent(slug)}` : ''

Callers

nothing calls this directly

Calls 1

apiDeleteFunction · 0.90

Tested by

no test coverage detected