So, I was able to run the project and everything seems to be working great except that it will not fetch any properties.
const rebnyTrestle = {
getResourceEndpoint: mlsResourceObj => {
const endpoint = `https://api-prod.corelogic.com/trestle/odata/${mlsResourceObj.name}`
const url = new URL(endpoint)
// These can be useful subsets for dev purposes
// if (mlsResourceObj.name === 'Property') {
// url.searchParams.set('$filter', "City eq 'Georgetown'")
// } else if (mlsResourceObj.name === 'Member') {
// url.searchParams.set('$filter', "MemberCity eq 'Georgetown'")
// }
return url.toString()
}
}
I tried redacting any sensitive information, I have also removed the data field that contained an encoded numbers array.
This is a screenshot from the user interface.
![image](https://user-images.githubusercontent.com/8190132/148065413-623c8223-55e5-499f-a448-0bfaa9b696b8.png)
Let me know if you need more information on this issue.