feat: enhance SkillTreeModal with skill allocation logic and custom scrollbar styles
This commit is contained in:
@@ -38,7 +38,7 @@ export async function getAllSkills(): Promise<Skill[]> {
|
||||
}
|
||||
|
||||
export async function getPetSkills(petId: string): Promise<PetSkill[]> {
|
||||
const response = await api.get<PetSkill[]>(`/api/v1/skill/${petId}/pet`);
|
||||
const response = await api.get<PetSkill[]>(`/api/v1/skill/${petId}/skills`);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user