title: redux thunk calling two different api requests
body: <p>trying to call two api's in an action. When one is complete call the other then on the last one pass it off to a reducer.
  Looks like my getAttending is getting called at the same time as post and not after post is completed. I'm new to redux-thunk and thought I could just call them one after another as the completed. </p>
  
  <pre><code>   export function postDeclined(id){
          let post = axios.post(blaBla.com);
          let getAttending = axios.get(attending.com);
          return (dispatch) =&gt; {
              post.then(()=&gt;{
                  getAttending.then(({data})=&gt;{
                      dispatch({
                          type: type.NOT_GOING,
                          payload: data.data
                      });
                  });
              });
          }
      }
  </code></pre>