summary refs log tree commit diff
path: root/src/api/routes/users
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-10-03 20:53:24 +0200
committerRory& <root@rory.gay>2025-10-04 19:09:26 +0200
commit625df4e31412f7e105aa462e86dfc104872cd532 (patch)
tree70531fac546e6aae183cb544aac8f12d5427c685 /src/api/routes/users
parentClean up other extensions (diff)
downloadserver-ts-625df4e31412f7e105aa462e86dfc104872cd532.tar.xz
Unkown -> unkown (typo fix)
Diffstat (limited to 'src/api/routes/users')
-rw-r--r--src/api/routes/users/@me/settings.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/users/@me/settings.ts b/src/api/routes/users/@me/settings.ts

index bdca9571..b21b31ed 100644 --- a/src/api/routes/users/@me/settings.ts +++ b/src/api/routes/users/@me/settings.ts
@@ -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 },