diff --git a/src/screens/boostPost/screen/boostPostScreen.js b/src/screens/boostPost/screen/boostPostScreen.js index 2860198d4..dd1e03ec8 100644 --- a/src/screens/boostPost/screen/boostPostScreen.js +++ b/src/screens/boostPost/screen/boostPostScreen.js @@ -120,8 +120,8 @@ class BoostPostScreen extends PureComponent { if (get(currentAccount, 'local.authType') === 'steemConnect') { const json = JSON.stringify({ user: selectedUser, - _author, - _permlink, + author: _author, + permlink: _permlink, amount, }); diff --git a/src/screens/promote/screen/promoteScreen.js b/src/screens/promote/screen/promoteScreen.js index de751da4a..99d40b272 100644 --- a/src/screens/promote/screen/promoteScreen.js +++ b/src/screens/promote/screen/promoteScreen.js @@ -113,14 +113,14 @@ class PointsScreen extends PureComponent { const fullPermlink = permlink || get(navigationParams, 'permlink'); const seperatedPermlink = fullPermlink.split('/'); - const _author = get(seperatedPermlink, '[0]'); + const author = get(seperatedPermlink, '[0]'); const _permlink = get(seperatedPermlink, '[1]'); if (get(currentAccount, 'local.authType') === 'steemConnect') { const json = JSON.stringify({ user: selectedUser, - _author, - _permlink, + author, + permlink: _permlink, duration: day, }); @@ -146,7 +146,7 @@ class PointsScreen extends PureComponent { } : currentAccount; - promote(day, _permlink, _author, user); + promote(day, _permlink, author, user); } };