diff --git a/src/model/trip.rs b/src/model/trip.rs index 3b7d163..e60f77a 100644 --- a/src/model/trip.rs +++ b/src/model/trip.rs @@ -108,9 +108,9 @@ WHERE day=? trip_type = TripType::find_by_id(db, trip_type_id).await; } ret.push(TripWithUserAndType { - trip: trip.clone(), - trip_type, rower: trip.get_all_rower(db).await, + trip, + trip_type, }); } ret