This commit is contained in:
zeppi 2021-07-15 14:03:30 -04:00 committed by jessopb
parent 707c60b813
commit 34dfd384e4
2 changed files with 4 additions and 0 deletions

2
dist/bundle.es.js vendored
View file

@ -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);
} }

View file

@ -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);
} }