async function updateIncident(id, from, payload) {
  try {
    const { body } = await pd.incidents.updateIncident(id, from, payload)
    return body
  } catch (err) {
    await handleError(err, 'Failed to update incident')
  }
}
/**
 * updateIncident updates a single incident.
 *
 * @param {string} id      The incident's id
 * @param {string} from    The email of a PagerDuty user
 * @param {object} payload The payload to update the incident with
 *
 * @return {object} The response body
 */
updateIncident updates a single incident.
@param {string} id      The incident's id
@param {string} from    The email of a PagerDuty user
@param {object} payload The payload to update the incident with

@return {object} The response body
updateIncident updates a single incident . @param { string } id The incident ' s id @param { string } from The email of a PagerDuty user @param { object } payload The payload to update the incident with @return { object } The response body
async function updateIncident(id, from, payload) {
  try {
    const { body } = await pd.incidents.updateIncident(id, from, payload)
    return body
  } catch (err) {
    await handleError(err, 'Failed to update incident')
  }
}
async function updateIncident ( id , from , payload ) { try { const { body } = await pd . incidents . updateIncident ( id , from , payload ) return body } catch ( err ) { await handleError ( err , 'Failed to update incident' ) } }
updateIncident updates a single incident.
updateIncident updates a single incident .