Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
foxprogs committed Dec 20, 2022
1 parent 530d484 commit fe8aab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default async function handler(req, res) {
'1FAIpQLSdma-rdJELwPGL-Iw7x28h3nZbvCaiFAABpz9B_17kuemSbWg') +
'/viewform'
)
await fs.writeFile(jsonDirectory + '/GoogleForm.json', JSON.stringify(data))
await fs.writeFile('./GoogleForm.json', JSON.stringify(data))
} catch (error) {
return res.status(500).json({ error })
}
Expand Down

0 comments on commit fe8aab1

Please sign in to comment.