Skip to content

Commit

Permalink
Merge bb0f044 into 62ce833
Browse files Browse the repository at this point in the history
  • Loading branch information
Claudia Hernández committed Aug 14, 2020
2 parents 62ce833 + bb0f044 commit e41cf5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check-response.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function logRequest (method, res, startTime, opts) {

let urlStr
try {
const URL = require('url')
const { URL } = require('url')
const url = new URL(res.url)
urlStr = res.url.replace(url.password, '***')
} catch (er) {
Expand Down

0 comments on commit e41cf5e

Please sign in to comment.