From 01fd8ed40f82620a670e302156f17bb690c3fb2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9B=90=EB=8D=94?= Date: Sun, 24 Jan 2021 10:14:59 +0900 Subject: [PATCH] feat: created discord callback endpoint --- pages/api/auth/discord/callback.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 pages/api/auth/discord/callback.ts diff --git a/pages/api/auth/discord/callback.ts b/pages/api/auth/discord/callback.ts new file mode 100644 index 0000000..1951cf8 --- /dev/null +++ b/pages/api/auth/discord/callback.ts @@ -0,0 +1,8 @@ +import { NextApiHandler, NextApiRequest, NextApiResponse } from 'next' + +const Callback: NextApiHandler = (_req: NextApiRequest, res: NextApiResponse) => { + res.statusCode = 200 + res.json({ happy: 'hacking' }) +} + +export default Callback