function validateLogTokenInResponse(action) {
    for (const transaction of action.transactions || []) {
      const res = lodash.get(transaction, 'response.headers');
      const str = JSON.stringify(res);
      return _validResponseHeader(str, 'X-Log-Token');
      }
    return true;
    }
/*
    Validates that X-Log-Token is present in response headers

  @targets: Action
  @minim: true
  */
Validates that X-Log-Token is present in response headers
Validates that X - Log - Token is present in response headers
function validateLogTokenInResponse(action) {
    for (const transaction of action.transactions || []) {
      const res = lodash.get(transaction, 'response.headers');
      const str = JSON.stringify(res);
      return _validResponseHeader(str, 'X-Log-Token');
      }
    return true;
    }
function validateLogTokenInResponse ( action ) { for ( const transaction of action . transactions || [ ] ) { const res = lodash . get ( transaction , 'response.headers' ) ; const str = JSON . stringify ( res ) ; return _validResponseHeader ( str , 'X-Log-Token' ) ; } return true ; }
Validates that X-Log-Token is present in response headers
Validates that X - Log - Token is present in response headers