Compare commits

..

3 commits

View file

@ -19,6 +19,7 @@ pub struct UserWithoutPassword {
id: Uuid,
name: String,
email: String,
admin: bool,
}
#[derive(Deserialize)]
@ -35,6 +36,7 @@ impl From<entity::user::Model> for UserWithoutPassword {
id: value.id,
name: value.name,
email: value.email,
admin: value.admin,
}
}
}