chore: remove console log

This commit is contained in:
Timothy Lin 2021-09-11 16:41:22 +08:00
parent 897ebfe0ec
commit db32d86f59
2 changed files with 0 additions and 2 deletions

View File

@ -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,

View File

@ -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' })