Skip to content

Commit 71c13b1

Browse files
committed
Email notification
1 parent 0100f32 commit 71c13b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/api/subscribe.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default async function handler(
1818
const API_KEY = process.env.REVUE_API_KEY;
1919
const response = await fetch(`https://www.getrevue.co/api/v2/subscribers`, {
2020
method: 'POST',
21-
body: JSON.stringify({ email: email, double_opt_in: false }),
21+
body: JSON.stringify({ email: email, double_opt_in: true }),
2222
headers: {
2323
Authorization: `Token ${API_KEY}`,
2424
'Content-Type': 'application/json'

0 commit comments

Comments
 (0)