mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-22 04:41:43 +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
90ec6d3615
@ -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