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

This commit is contained in:
Aditya Nikam 2023-07-24 15:25:51 +05:30 committed by GitHub
parent 2b5577772b
commit a9cc3649e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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");