Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.app.use((req, res) => {
const report = FullTracesReport.decode(req.body);
this.reports.push(report);
res.end();
// Resolve any outstanding Promises with our new report data.
reportResolver(this.reports);
});
}