⬆️ Updated: Next.js 12.1.6 -> 12.2.0
This commit is contained in:
1 parent
5077d753b6
commit
c6474923b0
6 files changed
+113
-79
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user