logging
This commit is contained in:
parent
b075c10344
commit
7d25ceb939
2 changed files with 4 additions and 0 deletions
2
dist/bundle.es.js
vendored
2
dist/bundle.es.js
vendored
|
@ -1927,7 +1927,9 @@ function doPreferenceGet(key, success, fail) {
|
||||||
|
|
||||||
return lbryProxy.preference_get(options).then(result => {
|
return lbryProxy.preference_get(options).then(result => {
|
||||||
if (result) {
|
if (result) {
|
||||||
|
console.log('result', result);
|
||||||
const preference = result[key];
|
const preference = result[key];
|
||||||
|
console.log('pref', preference);
|
||||||
return success(preference);
|
return success(preference);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -134,7 +134,9 @@ export function doPreferenceGet(key: string, success: Function, fail?: Function)
|
||||||
return Lbry.preference_get(options)
|
return Lbry.preference_get(options)
|
||||||
.then(result => {
|
.then(result => {
|
||||||
if (result) {
|
if (result) {
|
||||||
|
console.log('result', result)
|
||||||
const preference = result[key];
|
const preference = result[key];
|
||||||
|
console.log('pref', preference)
|
||||||
return success(preference);
|
return success(preference);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue