red herring strikes again - let's log the correct variable, eh?

This commit is contained in:
AJ ONeal 2017-04-04 16:43:28 -06:00
parent 7b0d791318
commit f72c1a333c
1 changed files with 1 additions and 1 deletions

View File

@ -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);