Skip to content

Commit

Permalink
get rc of actual user instead of @pharesim
Browse files Browse the repository at this point in the history
  • Loading branch information
pharesim committed Oct 9, 2018
1 parent 2526e7a commit 082bdfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/app.js
Expand Up @@ -164,7 +164,7 @@ async function appstart() {
if (localStorage.username) {
username = localStorage.username;
[account] = await client.database.getAccounts([username]);
steem.api.callAsync('rc_api.find_rc_accounts', {accounts: ['pharesim']}).then(async function(result) {
steem.api.callAsync('rc_api.find_rc_accounts', {accounts: [username]}).then(async function(result) {
max_rc = result.rc_accounts[0].max_rc;
last_mana = result.rc_accounts[0].rc_manabar.current_mana;
elapsed = current_timestamp - result.rc_accounts[0].rc_manabar.last_update_time;
Expand Down

0 comments on commit 082bdfa

Please sign in to comment.