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