- Finished implementing update methods (needs polish tbh)

This commit is contained in:
Alexis
2020-06-13 11:23:29 +02:00
parent 678736b8cc
commit 2f81a58ff6
6 changed files with 159 additions and 192 deletions

View File

@@ -16,5 +16,8 @@ export default {
},
updateSpell(id, data) {
return api.put(`${resource}/${id}`, data)
},
deleteSpell(id) {
return api.delete(`${resource}/${id}`)
}
}