mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-15 02:46:02 +00:00
Unkown -> unkown (typo fix)
This commit is contained in:
@@ -61,7 +61,7 @@ router.patch(
|
||||
}),
|
||||
async (req: Request, res: Response) => {
|
||||
const body = req.body as UserSettingsSchema;
|
||||
if (body.locale === "en") body.locale = "en-US"; // fix discord client crash on unkown locale
|
||||
if (body.locale === "en") body.locale = "en-US"; // fix discord client crash on unknown locale
|
||||
|
||||
const user = await User.findOneOrFail({
|
||||
where: { id: req.user_id, bot: false },
|
||||
|
||||
Reference in New Issue
Block a user