⬆️ Updated: Next.js 12.1.6 -> 12.2.0

This commit is contained in:
SR3u
2022-10-27 17:20:02 +03:00
parent 5077d753b6
commit c6474923b0
6 changed files with 113 additions and 79 deletions

View File

@@ -14,7 +14,7 @@ function Post(req: NextApiRequest, res: NextApiResponse) {
}
export default async (req: NextApiRequest, res: NextApiResponse) => {
// Filter out if the reuqest is a POST or a GET
// Filter out if the request is a POST or a GET
if (req.method === 'POST') {
return Post(req, res);
}