aboutsummaryrefslogtreecommitdiff
path: root/backend/src/routes/users.rs
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2021-12-19 00:16:46 +0100
committerIlion Beyst <ilion.beyst@gmail.com>2021-12-19 00:16:46 +0100
commit52242b03f1af7f73e73592c2e5ee2bc54813a64d (patch)
tree1ecafcbebad7b6f8ae71670afbe2921c975196fa /backend/src/routes/users.rs
parent2dbb085008f68ed56675cf23ea6e1c89af632ea9 (diff)
downloadplanetwars.dev-52242b03f1af7f73e73592c2e5ee2bc54813a64d.tar.xz
planetwars.dev-52242b03f1af7f73e73592c2e5ee2bc54813a64d.zip
simple bot uploads
Diffstat (limited to 'backend/src/routes/users.rs')
-rw-r--r--backend/src/routes/users.rs2
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,
}
}