(slug)
| 53 | } |
| 54 | |
| 55 | export const getSkillTree = async (slug) => { |
| 56 | return apiGet(`${BASE_URL}/${encodeURIComponent(slug)}/tree`) |
| 57 | } |
| 58 | |
| 59 | export const getSkillFile = async (slug, path) => { |
| 60 | return apiGet(`${BASE_URL}/${encodeURIComponent(slug)}/file?path=${encodeURIComponent(path)}`) |