diff --git a/client/src/components/flights/Flights.tsx b/client/src/components/flights/Flights.tsx index 1dcf7a2..9781f24 100644 --- a/client/src/components/flights/Flights.tsx +++ b/client/src/components/flights/Flights.tsx @@ -17,7 +17,7 @@ const Flights = () => { const getFlights = async (pageIndex: number, pageSize: number) => { try { - const response: AxiosResponse = await httpClient.get(`api/logs/tracks`, { + const response: AxiosResponse = await httpClient.get(`api/logs/flights`, { params: { skip: pageIndex, take: pageSize