mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-02 11:15:35 +03:00
Merge pull request #1137 from esteemapp/bugfix/boost-promote
Fixed selected user issue for boost and promote screen
This commit is contained in:
commit
8fe65addbe
@ -138,9 +138,10 @@ class BoostPostScreen extends PureComponent {
|
||||
amount: `${amount.toFixed(3)} POINT`,
|
||||
});
|
||||
|
||||
const uri = `sign/custom-json?authority=active&required_auths=%5B%22${selectedUser}%22%5D&required_posting_auths=%5B%5D&id=esteem_boost&json=${encodeURIComponent(
|
||||
json,
|
||||
)}`;
|
||||
const uri = `sign/custom-json?authority=active&required_auths=%5B%22${get(
|
||||
user,
|
||||
'name',
|
||||
)}%22%5D&required_posting_auths=%5B%5D&id=esteem_boost&json=${encodeURIComponent(json)}`;
|
||||
|
||||
this.setState({
|
||||
isSCModalOpen: true,
|
||||
|
@ -137,9 +137,10 @@ class PointsScreen extends PureComponent {
|
||||
duration: day,
|
||||
});
|
||||
|
||||
const uri = `sign/custom-json?authority=active&required_auths=%5B%22${selectedUser}%22%5D&required_posting_auths=%5B%5D&id=esteem_promote&json=${encodeURIComponent(
|
||||
json,
|
||||
)}`;
|
||||
const uri = `sign/custom-json?authority=active&required_auths=%5B%22${get(
|
||||
user,
|
||||
'name',
|
||||
)}%22%5D&required_posting_auths=%5B%5D&id=esteem_promote&json=${encodeURIComponent(json)}`;
|
||||
|
||||
this.setState({
|
||||
isSCModalOpen: true,
|
||||
|
Loading…
Reference in New Issue
Block a user