Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing defaults when url is passed instead of uri.

  • Loading branch information...
commit 2b959217151aaff7a6e7cc15e2acfccd1bbb9b85 1 parent e65bfba
@mikeal mikeal authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  main.js
View
2  main.js
@@ -807,7 +807,7 @@ request.defaults = function (options) {
for (var i in options) {
if (params.options[i] === undefined) params.options[i] = options[i]
}
- return method(params.uri, params.options, params.callback)
+ return method(params.options, params.callback)
}
return d
}
Please sign in to comment.
Something went wrong with that request. Please try again.