Add Tubs Field (#1486)

* HCB Referral Tracking

* Change referral code field to defaultValue

* Add referral alert

* Fix formatting

* Adjust copy

* Fix spacing

* HCB: Set Tubs to GFGS if referral code is used.

---------

Co-authored-by: Gary Tou <gary@garytou.com>
This commit is contained in:
Anish 2025-04-03 02:00:48 -07:00 committed by GitHub
parent cef6c00edd
commit 0e40b46e0a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -61,7 +61,8 @@ export default async function handler(req, res) {
'(Adults) Political Activity': data.eventPoliticalActivity,
'(Adults) Annual Budget': parseInt(data.eventAnnualBudget),
'HCB ID': r.id,
'Referral Code': data.referralCode
'Referral Code': data.referralCode,
Tubs: data.referralCode ? 'GFGS' : ''
})
res.status(200).end()
})