From 76a05b61073105f4a9d1298aa1a7fdc9115ad2cf Mon Sep 17 00:00:00 2001 From: philipp Date: Mon, 23 Oct 2023 22:26:33 +0200 Subject: [PATCH] add verified for boats --- src/model/boatdamage.rs | 2 ++ 1 file changed, 2 insertions(+) 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, });