code fixes
Release Tagging / release (pull_request) Successful in 27s
Rust Build / Check (pull_request) Successful in 36s
Rust Build / Test Suite (pull_request) Successful in 24s
Rust Build / Rustfmt (pull_request) Successful in 30s
Rust Build / Clippy (pull_request) Successful in 27s
Rust Build / build (pull_request) Successful in 24s

This commit is contained in:
2026-05-29 22:20:07 -04:00
parent 8e31f27dff
commit 51c582b4f6
+2 -4
View File
@@ -56,7 +56,7 @@ pub struct UserProfile {
}
pub fn init_user_profile(usr: &User) -> UserProfile {
let usr_profile = UserProfile {
UserProfile {
user_id: usr.id,
phone_number: usr.phone_number.clone(),
username: usr.username.clone(),
@@ -64,7 +64,5 @@ pub fn init_user_profile(usr: &User) -> UserProfile {
lastname: usr.lastname.clone(),
created: usr.created,
last_login: usr.last_login,
};
usr_profile
}
}