Closed aaronplanell closed 7 years ago
Hello,
I've got a very weird issue. I have an action that works:
export function fetchMetadades() { const url = `${API_ROOT_URL}/${API_METADADES}`; const request = axios.get(url); return { type: FETCH_METADADES, payload: request }; }
But if I add another parameter, for instance:
export function fetchMetadades() { const url = `${API_ROOT_URL}/${API_METADADES}`; const request = axios.get(url); return { type: FETCH_METADADES, payload: request, newParam: "withANewValue" }; }
It doesn't work :fearful: What I'm doing wrong?
Sorry. I applied the the solution of https://github.com/acdlite/redux-promise/issues/28 and it worked perfectly.
Hello,
I've got a very weird issue. I have an action that works:
But if I add another parameter, for instance:
It doesn't work :fearful: What I'm doing wrong?