diff --git a/client/src/api/schoolsRepository.js b/client/src/api/schoolsRepository.js index fada229..62ea04b 100644 --- a/client/src/api/schoolsRepository.js +++ b/client/src/api/schoolsRepository.js @@ -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}`) } } \ No newline at end of file