add verified for boats

This commit is contained in:
philipp 2023-10-23 22:26:33 +02:00
parent f4d0a88575
commit 76a05b6107

View File

@ -28,6 +28,7 @@ pub struct BoatDamageWithDetails {
user_fixed: Option<User>, user_fixed: Option<User>,
user_verified: Option<User>, user_verified: Option<User>,
boat: Boat, boat: Boat,
verified: bool,
} }
#[derive(Debug)] #[derive(Debug)]
@ -102,6 +103,7 @@ ORDER BY created_at DESC
.await .await
.unwrap(), .unwrap(),
user_fixed, user_fixed,
verified: user_verified.is_some(),
user_verified, user_verified,
boat_damage, boat_damage,
}); });