test to test

This commit is contained in:
wrzesinski-hubert
2020-12-08 19:25:52 +01:00
parent 68667e55de
commit a3438586bd
4 changed files with 19 additions and 6 deletions

View File

@ -17,7 +17,7 @@ export const UsersProvider = ({ children }: UsersProviderProps) => {
const getUsers = async () => {
try {
const {data}= await axiosInstance.get<Array<User>>(`${process.env.REACT_APP_API_URL}/api/v1/users/student/search?query=`);
const {data}= await axiosInstance.get<Array<User>>(`${process.env.REACT_APP_API_URL}/api/v1/users/students`);
setUsers(data);
console.log(data);
} catch(e){