diff --git a/src/model/boatdamage.rs b/src/model/boatdamage.rs index b50b754..ed0dbc0 100644 --- a/src/model/boatdamage.rs +++ b/src/model/boatdamage.rs @@ -28,6 +28,7 @@ pub struct BoatDamageWithDetails { user_fixed: Option, user_verified: Option, boat: Boat, + verified: bool, } #[derive(Debug)] @@ -102,6 +103,7 @@ ORDER BY created_at DESC .await .unwrap(), user_fixed, + verified: user_verified.is_some(), user_verified, boat_damage, });