text: import ApiCaller from './Caller';
  
  const apiCaller = new ApiCaller();
  
  const Api = {
    searchHotels: search => apiCaller.post('/api/hotel/search', { search }),
  
    searchHotelLocation: keyword => apiCaller.post('/api/hotel/location/search', { keyword }),
  
    fetchHotelDetails: (search, hotelId) => apiCaller.get('/api/hotel/details', { search, hotelId }),
  };
  
  export default Api;
  