summary refs log tree commit diff
path: root/src/routes
diff options
context:
space:
mode:
authornotsapinho <52896767+notsapinho@users.noreply.github.com>2021-04-06 11:20:30 -0300
committerGitHub <noreply@github.com>2021-04-06 11:20:30 -0300
commitdfbe855f3d59fb591eefce7c4f2947f9e16317e7 (patch)
tree19b09f0aec86ac9ec38af9223e0cadc5724e7ec6 /src/routes
parent:bug: fix user guilds (diff)
downloadserver-dfbe855f3d59fb591eefce7c4f2947f9e16317e7.tar.xz
🐛 fix structure
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/auth/login.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/auth/login.ts b/src/routes/auth/login.ts
index 15aa2371..b0936104 100644
--- a/src/routes/auth/login.ts
+++ b/src/routes/auth/login.ts
@@ -30,7 +30,7 @@ router.post(
 			{
 				$or: query,
 			},
-			`hash id user_settings.locale user_settings.theme`
+			`user_data.hash id user_settings.locale user_settings.theme`
 		).exec();
 
 		if (!user) {