lib/utils.js
function bodyItem(request, next) {
  if (request.err) return next(false, request.err, undefined, request.res);

  if (request.res.body && request.res.body.length) {
    return next(false, undefined, request.res.body[0], request.res);
  }

  next(false, undefined, undefined, request.res);
}
function bodyItem(request, next) {
  if (request.err) return next(false, request.err, undefined, request.res);

  if (request.res.body && request.res.body.length) {
    return next(false, undefined, request.res.body[0], request.res);
  }

  next(false, undefined, undefined, request.res);
}
function bodyItem ( request , next ) { if ( request . err ) return next ( false , request . err , undefined , request . res ) ; if ( request . res . body && request . res . body . length ) { return next ( false , undefined , request . res . body [ 0 ] , request . res ) ; } next ( false , undefined , undefined , request . res ) ; }
First item in body
First item in body