Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
queryParams.push( 'status=validAudio' );
responseStatus = 200;
} else {
queryParams.push( 'status=failedAudio' );
responseStatus = 403;
}
} else {
queryParams.push( 'status=failedPost' );
responseStatus = 500;
}
if(responseStatus === 403) {
newrelic.setIgnoreTransaction(true);
setTimeout(function() {
res.send( responseStatus );
}, 2000);
} else {
req.session.ishuman = true;
res.send( responseStatus );
}
};