steemconenct boost promotefixed

This commit is contained in:
ue 2019-08-29 20:35:57 +03:00
parent d160b2d454
commit 20d43d6337
2 changed files with 6 additions and 6 deletions

View File

@ -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,
});

View File

@ -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);
}
};