Fix parse both separators #421
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 => {
|
||||
if (result) {
|
||||
console.log('result', result);
|
||||
const preference = result[key];
|
||||
console.log('pref', preference);
|
||||
return success(preference);
|
||||
}
|
||||
|
||||
|
|
|
@ -134,7 +134,9 @@ export function doPreferenceGet(key: string, success: Function, fail?: Function)
|
|||
return Lbry.preference_get(options)
|
||||
.then(result => {
|
||||
if (result) {
|
||||
console.log('result', result)
|
||||
const preference = result[key];
|
||||
console.log('pref', preference)
|
||||
return success(preference);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue