- Fixed an API call
This commit is contained in:
@@ -3,10 +3,10 @@ import api from './api'
|
||||
const resource = "/schools"
|
||||
|
||||
export default {
|
||||
getOne() {
|
||||
getAll() {
|
||||
return api.get(`${resource}`)
|
||||
},
|
||||
getAll(id) {
|
||||
getOne(id) {
|
||||
return api.get(`${resource}/${id}`)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user