mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 14:10:22 +00:00
style: code style fix
This commit is contained in:
parent
58882ad5ca
commit
4c8a5f2d28
@ -5,7 +5,6 @@ import { WidgetOptionsSchema } from '@utils/Yup'
|
||||
|
||||
import { badgen } from 'badgen'
|
||||
import { get } from '@utils/Query'
|
||||
import { formatNumber } from '@utils/Tools'
|
||||
import { BotBadgeType, DiscordEnpoints } from '@utils/Constants'
|
||||
|
||||
const Widget: NextApiHandler = async(req: ApiRequest, res: NextApiResponse) => {
|
||||
|
||||
@ -240,7 +240,6 @@ async function assignToken(info: TokenRegister):Promise<string> {
|
||||
await knex('users').update({ token: t }).where({ id: info.id })
|
||||
} else t = token[0].token
|
||||
|
||||
|
||||
return t
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user