Skip to content

Commit

Permalink
Correct field name is needed in order to have a valid promo code :)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsclifton committed Dec 4, 2018
1 parent f77acbe commit a4e344f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utility/importer/brave_importer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ void BraveImporter::ImportReferral() {
// always there). `referralTimestamp` is only present after those
// 90 days elapse. Week of installation should always be present
// but if missing, it shouldn't cancel the import.
if (!TryFindStringKey(updates, "promoCode", referral.promo_code)) {
if (!TryFindStringKey(updates, "referralPromoCode", referral.promo_code)) {
referral.promo_code = "";
}

Expand Down

0 comments on commit a4e344f

Please sign in to comment.