Skip to content

Commit 2e1317f

Browse files
committed
Added Environment Variables
1 parent ae3efe5 commit 2e1317f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/api/subscribes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import axios from "axios";
33
export default async function handler(req, res) {
44
try {
55
const { email } = req.body;
6-
const publicationId = "63c14bbba4c81d219549640e";
6+
const publicationId = process.env.NEXT_PUBLIC_PUBLICATION_ID;
77

88
// Make the API call to subscribe to the newsletter
99
const response = await axios.post(

0 commit comments

Comments
 (0)