- Fixed methods of spell list

This commit is contained in:
Alexis
2020-06-29 16:18:26 +02:00
parent 60c179f357
commit 293451288d
2 changed files with 28 additions and 2 deletions

View File

@@ -8,5 +8,8 @@ export default {
},
getOne(id) {
return api.get(`${resource}/${id}`)
},
getSpellsFromOne(id) {
return api.get(`${resource}/${id}/spells`)
}
}