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_verified: Option<User>,
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,
});