Skip to content

Commit

Permalink
update for commission endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
kwunyeung committed Sep 7, 2019
1 parent f0bef9f commit ce782f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imports/api/accounts/server/methods.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Meteor.methods({
try {
let rewards = HTTP.get(url);
if (rewards.statusCode == 200){
let content = JSON.parse(rewards.content);
let content = JSON.parse(rewards.content).result;
if (content.val_commission && content.val_commission.length > 0)
balance.commission = content.val_commission[0];
}
Expand Down

0 comments on commit ce782f7

Please sign in to comment.