var stats = require('../helper/stats.js'); module.exports = function (req,mandatoryList,api){ var err = []; for(var i=0;i 0) stats.reciveRequest(api,false); else stats.reciveRequest(api,true); // console.log(err); return err; };