Remove deprecated index (until an async context allows support)

This commit is contained in:
Shawn 2018-10-08 19:15:44 -05:00
parent 4395579fca
commit 0be8422e65

View file

@ -31,7 +31,7 @@ function logMetricsMiddleware(req, res, next) {
res.on('finish', () => {
const userAgent = req.get('user-agent');
db.RequestMetrics.create({
db.Metrics.create({
isInternal: /node\-fetch/.test(userAgent),
routePath: httpContext.get('routePath'),
params: JSON.stringify(req.params),