chore: remove console log
This commit is contained in:
parent
897ebfe0ec
commit
db32d86f59
@ -8,7 +8,6 @@ export default async (req, res) => {
|
||||
try {
|
||||
const API_KEY = process.env.BUTTONDOWN_API_KEY
|
||||
const buttondownRoute = `${process.env.BUTTONDOWN_API_URL}subscribers`
|
||||
console.log('route : ', buttondownRoute)
|
||||
const response = await fetch(buttondownRoute, {
|
||||
body: JSON.stringify({
|
||||
email,
|
||||
|
@ -1,7 +1,6 @@
|
||||
/* eslint-disable import/no-anonymous-default-export */
|
||||
export default async (req, res) => {
|
||||
const { email } = req.body
|
||||
console.log('email : ', email)
|
||||
|
||||
if (!email) {
|
||||
return res.status(400).json({ error: 'Email is required' })
|
||||
|
Loading…
x
Reference in New Issue
Block a user