diff --git a/src/abstraction/repository/sportCategoryRepository.js b/src/abstraction/repository/sportCategoryRepository.js index 6b5a6ce..cafd7b5 100644 --- a/src/abstraction/repository/sportCategoryRepository.js +++ b/src/abstraction/repository/sportCategoryRepository.js @@ -8,8 +8,8 @@ export default class SportCategoryRepository { return getArray(response.data); } } - async trainerIndex() { - let response = await axios.get(url("indexClientSportCategories")); + async trainerIndex(data) { + let response = await axios.get(url("indexClientSportCategories"), { params: data }); if (response.status === 200) { return getArray(response.data); }