feat: show user avatars on /users page
All checks were successful
CI / Check / Test / Build (push) Successful in 24m46s
All checks were successful
CI / Check / Test / Build (push) Successful in 24m46s
This commit is contained in:
@@ -240,6 +240,7 @@ pub(crate) struct UserSummaryRow {
|
||||
pub email: String,
|
||||
pub total_movies: i64,
|
||||
pub avg_rating: Option<f64>,
|
||||
pub avatar_path: Option<String>,
|
||||
}
|
||||
|
||||
impl UserSummaryRow {
|
||||
@@ -249,6 +250,7 @@ impl UserSummaryRow {
|
||||
Email::new(self.email)?,
|
||||
self.total_movies,
|
||||
self.avg_rating,
|
||||
self.avatar_path,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user