remove old endpoint reference
This commit is contained in:
parent
6d45b7c1c3
commit
f758a5bdbe
1 changed files with 1 additions and 1 deletions
|
@ -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")));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue