We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0100f32 commit 71c13b1Copy full SHA for 71c13b1
pages/api/subscribe.ts
@@ -18,7 +18,7 @@ export default async function handler(
18
const API_KEY = process.env.REVUE_API_KEY;
19
const response = await fetch(`https://www.getrevue.co/api/v2/subscribers`, {
20
method: 'POST',
21
- body: JSON.stringify({ email: email, double_opt_in: false }),
+ body: JSON.stringify({ email: email, double_opt_in: true }),
22
headers: {
23
Authorization: `Token ${API_KEY}`,
24
'Content-Type': 'application/json'
0 commit comments