mirror of
https://github.com/System-End/site.git
synced 2026-04-19 22:05:11 +00:00
revert: changes because the airtable api key doesn't have sufficient permissions to do what i need it to do
This commit is contained in:
parent
4ab3237398
commit
1d84d254a9
1 changed files with 15 additions and 11 deletions
|
|
@ -35,18 +35,22 @@ export default async function handler(req, res) {
|
|||
'Event Name': data.eventName,
|
||||
'Event Website': data.eventWebsite,
|
||||
'Tell us about your event': data.eventDescription,
|
||||
'Mailing Address': '',
|
||||
'Address Line 1': '',
|
||||
City: '',
|
||||
State: '',
|
||||
'Zip Code': '',
|
||||
'Address Country': '',
|
||||
'Address Country Code': '',
|
||||
'Mailing Address': data.userAddress,
|
||||
'Address Line 1': data.addressLine1,
|
||||
City: data.addressCity,
|
||||
State: data.addressState,
|
||||
'Zip Code': data.addressZip,
|
||||
'Address Country': data.addressCountry,
|
||||
'Address Country Code': data.addressCountryCode,
|
||||
'Event Location': data.eventLocation,
|
||||
'Event Country Code': getCode(data.eventLocation),
|
||||
'Have you used HCB for any previous events?': '',
|
||||
'How did you hear about HCB?': 'This field doesn\'t exist on the form anymore.',
|
||||
Transparent: 'Yes, please!',
|
||||
'Event Country Code': data.eventCountryCode,
|
||||
'Have you used HCB for any previous events?':
|
||||
data.returningUser === 'true'
|
||||
? 'Yes, I have used HCB before'
|
||||
: 'No, first time!',
|
||||
'How did you hear about HCB?': data.referredBy,
|
||||
Transparent:
|
||||
data.transparent === 'true' ? 'Yes, please!' : 'No, thanks.',
|
||||
'HCB account URL': `https://hcb.hackclub.com/${r.slug}`,
|
||||
'Contact Option': data.contactOption,
|
||||
'Slack Username': data.slackUsername,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue