mirror of
https://github.com/HackPlan/google-auth-library-nodejs.git
synced 2026-04-29 04:05:41 +08:00
fix: Add url parameter as request method.
First argument of request method is First argument of request method must be url. And number of argument must be three.
This commit is contained in:
@@ -52,7 +52,7 @@ DefaultTransporter.prototype.configure = function(opts) {
|
||||
*/
|
||||
DefaultTransporter.prototype.request = function(opts, opt_callback) {
|
||||
opts = this.configure(opts);
|
||||
return request(opts, this.wrapCallback_(opt_callback));
|
||||
return request(opts.uri || opts.url, opts, this.wrapCallback_(opt_callback));
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user