From 7d25ceb939a7ea2b83cabbbfe62a946c9992e381 Mon Sep 17 00:00:00 2001 From: zeppi Date: Thu, 15 Jul 2021 14:03:30 -0400 Subject: [PATCH] logging --- dist/bundle.es.js | 2 ++ src/redux/actions/sync.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/dist/bundle.es.js b/dist/bundle.es.js index 6962678..67aaef1 100644 --- a/dist/bundle.es.js +++ b/dist/bundle.es.js @@ -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); } diff --git a/src/redux/actions/sync.js b/src/redux/actions/sync.js index 032a8ab..732ef77 100644 --- a/src/redux/actions/sync.js +++ b/src/redux/actions/sync.js @@ -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); }