remove console.log
This commit is contained in:
parent
ba3df4749d
commit
68c8ce6b76
2 changed files with 0 additions and 2 deletions
1
dist/bundle.js
vendored
1
dist/bundle.js
vendored
|
@ -690,7 +690,6 @@ Lbryio.call = function (resource, action) {
|
||||||
var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
||||||
var method = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'get';
|
var method = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'get';
|
||||||
|
|
||||||
console.log('call');
|
|
||||||
if (!Lbryio.enabled) {
|
if (!Lbryio.enabled) {
|
||||||
return Promise.reject(new Error(__('LBRY internal API is disabled')));
|
return Promise.reject(new Error(__('LBRY internal API is disabled')));
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,6 @@ Lbryio.setLocalApi = endpoint => {
|
||||||
};
|
};
|
||||||
|
|
||||||
Lbryio.call = (resource, action, params = {}, method = 'get') => {
|
Lbryio.call = (resource, action, params = {}, method = 'get') => {
|
||||||
console.log('call');
|
|
||||||
if (!Lbryio.enabled) {
|
if (!Lbryio.enabled) {
|
||||||
return Promise.reject(new Error(__('LBRY internal API is disabled')));
|
return Promise.reject(new Error(__('LBRY internal API is disabled')));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue