diff --git a/src/model/boat.rs b/src/model/boat.rs index 5a12b0e..696038e 100644 --- a/src/model/boat.rs +++ b/src/model/boat.rs @@ -149,7 +149,7 @@ ORDER BY amount_seats DESC return Self::all(db).await; } let boats = if user.is_cox { - boats = sqlx::query_as!( + sqlx::query_as!( Boat, " SELECT id, name, amount_seats, location_id, owner, year_built, boatbuilder, default_shipmaster_only_steering, skull, external