From fcd39565fc8fe9573f04a1b8e2a3940b3d14de83 Mon Sep 17 00:00:00 2001 From: DJMrTV Date: Thu, 29 May 2025 22:28:44 +0200 Subject: [PATCH] fix: hopefully actually fix it this time --- src/graphql/mod.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/graphql/mod.rs b/src/graphql/mod.rs index d58b496..c0d139d 100644 --- a/src/graphql/mod.rs +++ b/src/graphql/mod.rs @@ -132,7 +132,7 @@ impl Query { Some(UserInfo { username: user.username, account_level: user.account_level, - nex_password: user.nex_password, + nex_password, mii_data: user.mii_data.replace('\n', "").replace('\r', ""), }) } @@ -156,7 +156,7 @@ impl Query { Some(UserInfo { username: user.username, account_level: user.account_level, - nex_password: user.nex_password, + nex_password, mii_data: user.mii_data, }) } @@ -175,10 +175,12 @@ impl Query { .await .ok()?; + let nex_password = format!("{:a>16}",user.nex_password); + Some(UserInfoWithPId { username: user.username, account_level: user.account_level, - nex_password: user.nex_password, + nex_password, mii_data: user.mii_data, pid: user.pid, })