Skip to content

Commit

Permalink
Fixing defaults when url is passed instead of uri.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeal committed Apr 14, 2012
1 parent e65bfba commit 2b95921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 2b95921

Please sign in to comment.