mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-14 07:06:14 -05:00
Call end() after league api POST
This commit is contained in:
@@ -62,7 +62,7 @@ async function POST(req: NextApiRequest, res: NextApiResponse) {
|
||||
return res.status(500).send(e.message);
|
||||
}
|
||||
|
||||
res.status(200);
|
||||
res.status(200).end();
|
||||
}
|
||||
|
||||
export default (req: NextApiRequest, res: NextApiResponse) =>
|
||||
|
||||
Reference in New Issue
Block a user