red herring strikes again - let's log the correct variable, eh?
This commit is contained in:
parent
7b0d791318
commit
f72c1a333c
|
@ -1037,7 +1037,7 @@
|
|||
}
|
||||
, api: function (providerUri, opts) {
|
||||
if (!OAUTH3.api[opts.api]) {
|
||||
return OAUTH3.PromiseA.reject(new Error("No API for '" + providerUri + "'"));
|
||||
return OAUTH3.PromiseA.reject(new Error("No API for '" + opts.api + "'"));
|
||||
}
|
||||
|
||||
return OAUTH3.api[opts.api](providerUri, opts);
|
||||
|
|
Loading…
Reference in New Issue