From f758a5bdbe8d171a68334d7a031a38916fe022a6 Mon Sep 17 00:00:00 2001 From: Jeremy Kauffman Date: Fri, 27 Oct 2017 15:37:05 -0400 Subject: [PATCH] remove old endpoint reference --- ui/js/lbryio.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/js/lbryio.js b/ui/js/lbryio.js index 573f6e7c6..03b08496d 100644 --- a/ui/js/lbryio.js +++ b/ui/js/lbryio.js @@ -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"))); }