Skip to content

Commit

Permalink
Fixes build problem with notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
NejcZdovc committed Nov 14, 2018
1 parent 8b09b21 commit f0b6b59
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/brave_rewards/browser/rewards_service_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -566,14 +566,14 @@ void RewardsServiceImpl::OnReconcileComplete(ledger::Result result,
ledger::PUBLISHER_CATEGORY category,
const std::string& probi) {

RewardsNotificationService::RewardsNotificationArgs args;
RewardsNotificationsService::RewardsNotificationArgs args;
args.push_back(viewing_id);
args.push_back(std::to_string(result));
args.push_back(std::to_string(category));
args.push_back(probi);

notification_service_->AddNotification(
RewardsNotificationService::REWARDS_NOTIFICATION_AUTO_CONTRIBUTE,
rewards_notifications_service_->AddNotification(
RewardsNotificationsService::REWARDS_NOTIFICATION_AUTO_CONTRIBUTE,
args,
"contribution_" + viewing_id);

Expand Down

0 comments on commit f0b6b59

Please sign in to comment.