This commit is contained in:
zeppi 2021-07-15 14:03:30 -04:00
parent b075c10344
commit 7d25ceb939
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);
} }