Permalink
Browse files

Fixing defaults when url is passed instead of uri.

  • Loading branch information...
1 parent e65bfba commit 2b959217151aaff7a6e7cc15e2acfccd1bbb9b85 @mikeal mikeal committed Apr 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 main.js
View
@@ -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
}

0 comments on commit 2b95921

Please sign in to comment.