mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-23 21:44:47 +00:00
Unkown -> unkown (typo fix)
This commit is contained in:
1 parent
5295a0b563
commit
625df4e314
4 files changed
+4
-4
No files matched your search
@@ -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