mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 22:10:24 +00:00
feat: created discord callback endpoint
This commit is contained in:
parent
6016907d0e
commit
01fd8ed40f
8
pages/api/auth/discord/callback.ts
Normal file
8
pages/api/auth/discord/callback.ts
Normal file
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user