Skip to content

Commit

Permalink
Fixes monthly contribution in the panel
Browse files Browse the repository at this point in the history
  • Loading branch information
NejcZdovc committed Mar 25, 2020
1 parent e08cd32 commit 927d945
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion browser/extensions/api/brave_rewards_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ void BraveRewardsGetBalanceReportFunction::OnBalanceReport(
data->SetDoubleKey("contribute", report.auto_contribute);
data->SetDoubleKey("grant", report.grants);
data->SetDoubleKey("tips", report.one_time_donation);
data->SetDoubleKey("donation", report.recurring_donation);
data->SetDoubleKey("monthly", report.recurring_donation);
Respond(OneArgument(std::move(data)));
}

Expand Down
2 changes: 1 addition & 1 deletion common/extensions/api/brave_rewards.json
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@
"contribute": {
"type": "number"
},
"donation": {
"monthly": {
"type": "number"
},
"grant": {
Expand Down

0 comments on commit 927d945

Please sign in to comment.