This commit is contained in:
Matthew Stanciu 2020-04-23 18:00:27 -04:00
parent e2fc48bbe6
commit 3d08457261

View file

@ -10,12 +10,13 @@ const joinTable = new AirtablePlus({
export default async (req, res) => {
if (req.method === 'POST') {
const data = JSON.parse(req.body)
await joinTable.create({
console.log(data)
/*await joinTable.create({
'Full Name': data.name,
'Email Address': data.email,
'Student': data.hs ? true : false,
'Reason': data.reason
})
})*/
res.json({ status: 'success' })
}
}