mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 22:10:24 +00:00
chore: removed debug code
This commit is contained in:
parent
623ebcf8eb
commit
5281e4c1dd
@ -14,7 +14,6 @@ const Bots = nc<ApiRequest, NextApiResponse>()
|
||||
})
|
||||
.post(async (req, res) => {
|
||||
const user = await get.Authorization(req.cookies.token)
|
||||
console.log(user)
|
||||
if(!user) return ResponseWrapper(res, { code: 401 })
|
||||
const csrfValidated = checkToken(req, res, req.body._csrf)
|
||||
if(!csrfValidated) return
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user