My fetch returns this promise which works for other fields in the API but I need to save the value for a field within that has the name "datasets-pollencheck_apiaries" however react-native inteprets the "-" as something else and I can't access this field, and continually get the error that says "Can't find variable: pollencheck_apiaries"
.then((response) => response.json())
.then((responseJson) => {
LINK = responseJson.links.datasets-pollencheck_apiaries;
})
Any insight would be much appreciated.