title: Get object array from axios and using return value call another axios function and append the output to first result
body: <p>const request = {
  headers: {
  &quot;Accept&quot;: &quot;application&quot;,
  &quot;Content-Type&quot;: &quot;application/json&quot;,
  },
  method: &quot;GET&quot;,
  url: '',
  } as any;</p>
  <pre><code>        const result = await axios(request);
  
          result.data.data.map(async (ad: any) =&gt; {
              const request2 = {
                  headers: {
                      &quot;Accept&quot;: &quot;application&quot;,
                      &quot;Content-Type&quot;: &quot;application/json&quot;,
                  },
                  method: &quot;GET&quot;,
                  url: '',
              } as any;
  
              const result2 = await axios(request2);
              ad.preview = result2.data.data[0].body;
          })
  
          return result.data.data;
  </code></pre>
  <p>preview key is not getting appended</p>