diff --git a/dist/bundle.es.js b/dist/bundle.es.js index 8213dbb..5480a5d 100644 --- a/dist/bundle.es.js +++ b/dist/bundle.es.js @@ -1778,7 +1778,7 @@ function doPreferenceGet(key, success, fail) { key }; - lbryProxy.preference_get(options).then(result => { + return lbryProxy.preference_get(options).then(result => { if (result) { const preference = result[key]; return success(preference); diff --git a/src/redux/actions/sync.js b/src/redux/actions/sync.js index 2fc7a1e..0cc19f9 100644 --- a/src/redux/actions/sync.js +++ b/src/redux/actions/sync.js @@ -96,7 +96,7 @@ export function doPreferenceGet(key: string, success: Function, fail?: Function) key, }; - Lbry.preference_get(options) + return Lbry.preference_get(options) .then(result => { if (result) { const preference = result[key];