diff options
Diffstat (limited to 'backend/src/routes/users.rs')
-rw-r--r-- | backend/src/routes/users.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/src/routes/users.rs b/backend/src/routes/users.rs index 72a857f..45a94b9 100644 --- a/backend/src/routes/users.rs +++ b/backend/src/routes/users.rs @@ -55,7 +55,7 @@ pub struct UserData { impl From<User> for UserData { fn from(user: User) -> Self { UserData { - user_id: user.user_id, + user_id: user.id, username: user.username, } } |