mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 22:10:24 +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 { badgen } from 'badgen'
|
||||||
import { get } from '@utils/Query'
|
import { get } from '@utils/Query'
|
||||||
import { formatNumber } from '@utils/Tools'
|
|
||||||
import { BotBadgeType, DiscordEnpoints } from '@utils/Constants'
|
import { BotBadgeType, DiscordEnpoints } from '@utils/Constants'
|
||||||
|
|
||||||
const Widget: NextApiHandler = async(req: ApiRequest, res: NextApiResponse) => {
|
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 })
|
await knex('users').update({ token: t }).where({ id: info.id })
|
||||||
} else t = token[0].token
|
} else t = token[0].token
|
||||||
|
|
||||||
|
|
||||||
return t
|
return t
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user