API - Prices - Updated endpoint for prices "by RoomCategory".
CI / Docker Lint (push) Successful in 31s
CI / Docker Lint (push) Successful in 31s
This commit is contained in:
@@ -40,7 +40,7 @@ export function useAPIRoomPrices(filter: FareFilter | null) {
|
|||||||
: null;
|
: null;
|
||||||
|
|
||||||
const { data, isLoading, error } = useSWR(
|
const { data, isLoading, error } = useSWR(
|
||||||
request ? ["/api/search/prices", request] : null,
|
request ? ["/api/search/pricesCategory", request] : null,
|
||||||
([url, request]) => fetcherUnwraperWithFilter<RoomPrice[]>(url, request),
|
([url, request]) => fetcherUnwraperWithFilter<RoomPrice[]>(url, request),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user