This commit is contained in:
philipp 2023-10-02 12:40:20 +02:00
parent bb142a0969
commit 88833b9f4b

View File

@ -149,7 +149,7 @@ ORDER BY amount_seats DESC
return Self::all(db).await; return Self::all(db).await;
} }
let boats = if user.is_cox { let boats = if user.is_cox {
boats = sqlx::query_as!( sqlx::query_as!(
Boat, Boat,
" "
SELECT id, name, amount_seats, location_id, owner, year_built, boatbuilder, default_shipmaster_only_steering, skull, external SELECT id, name, amount_seats, location_id, owner, year_built, boatbuilder, default_shipmaster_only_steering, skull, external