add verified for boats
This commit is contained in:
parent
f4d0a88575
commit
76a05b6107
@ -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,
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user