remove old endpoint reference

This commit is contained in:
Jeremy Kauffman 2017-10-27 15:37:05 -04:00
parent 6d45b7c1c3
commit f758a5bdbe

View file

@ -36,7 +36,7 @@ lbryio.getExchangeRates = function() {
};
lbryio.call = function(resource, action, params = {}, method = "get") {
if (!lbryio.enabled && (resource != "discover" || action != "list")) {
if (!lbryio.enabled) {
console.log(__("Internal API disabled"));
return Promise.reject(new Error(__("LBRY internal API is disabled")));
}