Update join.js

This commit is contained in:
Sam Poder 2022-04-07 19:12:08 +08:00 committed by Max Wofford
parent f3477e1c37
commit e209c29027

View file

@ -7,6 +7,7 @@ const joinTable = new AirtablePlus({
})
async function postData(url = '', data = {}, headers = {}) {
console.log(data)
const response = await fetch(url, {
method: 'POST',
mode: 'cors',
@ -45,8 +46,6 @@ export default async function handler(req, res) {
const data = req.body || {}
console.log(data)
let secrets = (process.env.NAUGHTY || '').split(',')
for (const secret of secrets) {