Load listing details from the server
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
import fetch from 'isomorphic-fetch';
|
||||
|
||||
export const loadListing = (id) => {
|
||||
let url = `http://localhost:3001/api/search/listings/${id}`;
|
||||
|
||||
return fetch(url, {
|
||||
//credentials: 'include'
|
||||
});
|
||||
};
|
||||
|
||||
export const loadProperties = ({
|
||||
bounds,
|
||||
minPrice = '',
|
||||
|
||||
Reference in New Issue
Block a user