fix: use UserId newtype in UserSummary instead of raw Uuid
This commit is contained in:
@@ -293,7 +293,7 @@ impl FeedEntry {
|
|||||||
|
|
||||||
#[derive(Clone, Debug)]
|
#[derive(Clone, Debug)]
|
||||||
pub struct UserSummary {
|
pub struct UserSummary {
|
||||||
pub user_id: uuid::Uuid,
|
pub user_id: UserId,
|
||||||
pub email: String,
|
pub email: String,
|
||||||
pub total_movies: i64,
|
pub total_movies: i64,
|
||||||
pub avg_rating: Option<f64>,
|
pub avg_rating: Option<f64>,
|
||||||
|
|||||||
Reference in New Issue
Block a user