api/queryAPI.js
// get all actors for a show
get all actors for a show
get all actors for a show
async function queryActors(name) {
  let response = await api.getActors(name).catch();
  let validStatus = await validResponse(response, queryActors, name).catch();
  if (validStatus === true) {
    return response;
  }
}
async function queryActors ( name ) { let response = await api . getActors ( name ) . catch ( ) ; let validStatus = await validResponse ( response , queryActors , name ) . catch ( ) ; if ( validStatus === true ) { return response ; } }
get all actors for a show
get all actors for a show