Skip to content

Commit

Permalink
fix instrumenter signature
Browse files Browse the repository at this point in the history
  • Loading branch information
jsumners-nr committed Apr 15, 2024
1 parent fe60da9 commit 3c22991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/instrumentation/superagent.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
const http = require('http')
const METHODS = http.METHODS.map((method) => method.toLowerCase())

module.exports = function instrument(shim, superagent) {
module.exports = function instrument(agent, superagent, moduleName, shim) {
shim.wrapExport(superagent, function wrapRequest(shim, request) {
if (!shim.isFunction(request)) {
shim.logger.debug('Not wrapping export, expected a function.')
Expand Down

0 comments on commit 3c22991

Please sign in to comment.