diff --git a/lib/instrumentation/module/express.js b/lib/instrumentation/module/express.js index bdf2d37d..ce3cd4ef 100644 --- a/lib/instrumentation/module/express.js +++ b/lib/instrumentation/module/express.js @@ -27,7 +27,7 @@ module.exports = function (agent, version, express) { apiMetaService.cacheApi(descriptor) descMap[objectName + methodName] = descriptor return descMap - }, {}); + }, {}) function getMethodDescriptor(objectPath, methodName, httpMethod) { const method = objectPath === 'route' ? httpMethod : methodName