fix clones()

This commit is contained in:
philipp 2023-05-24 12:16:13 +02:00
parent 99296d4060
commit 1c74d11e96

View File

@ -108,9 +108,9 @@ WHERE day=?
trip_type = TripType::find_by_id(db, trip_type_id).await; trip_type = TripType::find_by_id(db, trip_type_id).await;
} }
ret.push(TripWithUserAndType { ret.push(TripWithUserAndType {
trip: trip.clone(),
trip_type,
rower: trip.get_all_rower(db).await, rower: trip.get_all_rower(db).await,
trip,
trip_type,
}); });
} }
ret ret