fix: use UserId newtype in UserSummary instead of raw Uuid

This commit is contained in:
2026-05-04 18:29:10 +02:00
parent d468ce131f
commit f3dedbad8a

View File

@@ -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>,