title: api.get(...).then(...).catch(...).finally is not a function
body: <p>I have a React Native API call I am making.</p>
  
  <p>Theoretically it should work - </p>
  
  <pre><code>    import API from "../../utils/API";
  
    componentDidMount() {
      let merchantId = this.props.merchant.id;
      let api = new API(this.props.gatheredTokens);
      let self = this;
      api.setRetry(10);
      api
        .get("merchantMessages", { repl_str: merchantId })
        .then(response =&gt; this.merchantMessageConfiguration(response.data))
        .catch(function (error) {
          console.log(error);
        })
        .finally(function () {
          self.state.list.push(
            &lt;Card
              merchant={self.props.merchant}
              key={self.props.merchant.id}
              bubblemsg={self.state.bubblemsg}
            /&gt;
          );
        })
        .finally(function () {
          self.merchantNoticeLoading(self);
        });
    }
  </code></pre>
  
  <p>However I am getting the following error:</p>
  
  <p><a href="https://i.stack.imgur.com/b61fv.png" rel="noreferrer"><img src="https://i.stack.imgur.com/b61fv.png" alt="TypeError"></a></p>
  
  <p>What is causing this error? The code looks valid.</p>
  
  <p>Here is what get is:</p>
  
  <pre><code> get(API, params = this.defaultParams) {
      this.call = "GET";
      let constructedURL = this.constructURL(API, params);
      axiosRetry(axios, { retries: this.retry });
      return axios.get(constructedURL, this.config);
    }
  </code></pre>