fix: fixed typo email res.statusCode(200) (#10331)

This commit is contained in:
Aditya Nikam authored and GitHub committed 2023-07-24 11:55:51 +02:00
1 parent 2b5577772b
commit a9cc3649e0
1 file changed
+1 -1
+1 -1
View File
@@ -55,7 +55,7 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) => {
],
};
req.statusCode = 200;
res.statusCode = 200;
res.setHeader("Content-Type", "text/html");
res.setHeader("Cache-Control", "no-cache, no-store, private, must-revalidate");