Skip to content

Commit

Permalink
POST new fields to Airtable
Browse files Browse the repository at this point in the history
  • Loading branch information
garyhtou committed Oct 26, 2024
1 parent 12906ba commit 545c15f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pages/api/fiscal-sponsorship/apply.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ export default async function handler(req, res) {
'Contact Option': data.contactOption,
'Slack Username': data.slackUsername,
Accommodations: data.accommodations,
'Teenager Led?': data.eventTeenagerLed === 'true',
'(Adults) Political Activity': data.eventPoliticalActivity,
'(Adults) Annual Budget': parseInt(data.eventAnnualBudget),
'HCB ID': r.id
})
res.status(200).end();
Expand Down

0 comments on commit 545c15f

Please sign in to comment.