mirror of
https://github.com/System-End/site.git
synced 2026-04-19 22:05:11 +00:00
test
This commit is contained in:
parent
e2fc48bbe6
commit
3d08457261
1 changed files with 3 additions and 2 deletions
|
|
@ -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' })
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue