src/siteServices.js
/**
 * Request EPA ID site details
 *
 * @param {string} siteID the epa id
 * */
Request EPA ID site details
@param {string} siteID the epa id
Request EPA ID site details @param { string } siteID the epa id
async function siteDetails (siteID) {
  try {
    const siteRes = await eManAPI.get({
      url: `./site-details/${siteID}`
    })
    return siteRes.data
  } catch (error) {
    console.error(error)
  }
}
async function siteDetails ( siteID ) { try { const siteRes = await eManAPI . get ( { url : ` ${ siteID } ` } ) return siteRes . data } catch ( error ) { console . error ( error ) } }
Request EPA ID site details
 @param {string} siteID the epa id
Request EPA ID site details @param { string } siteID the epa id
// console.log(siteRes.data)