I'm hitting a bunch of road blocks trying to set a response from a axios.get request to action payload. The main issue is that since the response is a promise it takes the entire promise as the payload and there is no way to set the response within the promise as the payload. Any advice on how to use this middleware to rectify the issue I am having?
I greatly appreciate any direction given and I thank you in advance.
Hello,
I'm hitting a bunch of road blocks trying to set a response from a
axios.get
request to action payload. The main issue is that since the response is a promise it takes the entire promise as the payload and there is no way to set the response within the promise as the payload. Any advice on how to use this middleware to rectify the issue I am having?I greatly appreciate any direction given and I thank you in advance.
Peter