What is the way to take data from getUserConnectRequestData function and pass it to getUserConnectResponseData function  ?
as you can see so i try to use then and  responseData to for save the data of the getUserConnectRequestData function and than i try pass it into the getUserConnectResponseData function but itd not works .
getUserConnectRequestData().then(() => {
          responseData();
        });
and this is getUserConnectResponseData function that i want to pass the data from getUserConnectRequestData
export const getUserConnectResponseData = (responseData) => {
  return new Promise((resolve, reject) => {
    // console.log('THIS IS MY RESPONSE ==============>>>>>>>>>>>', responseData);
    try {
      fetch(
        'https://hghghgghghg3223223',
        {
          method: 'POST',
          headers: {
            Accept: 'application/json',
            'Content-Type': 'application/json',
          },
          body: JSON.stringify({
            Req_Type: responseData.Req_Type,
            Language_Code: responseData.Language_Code,
            User_ID: responseData.User_ID,
            Session_ID: responseData.Session_ID,
            Session_Key: responseData.Session_Key,
            Client_Type: responseData.Client_Type,
            Req_Data: {
              Bridge_ID: responseData.Bridge_ID,
            },
          }),
        }
      )
        .then((response) => response.json())
        .then((jsonResponse) => {
          resolve(jsonResponse);
        });
    } catch (error) {
      reject(error);
    }
  });
};
 
    