no more clones!
This commit is contained in:
@ -79,10 +79,10 @@ WHERE day=?",
|
||||
trip_type = TripType::find_by_id(db, trip_type_id).await;
|
||||
}
|
||||
ret.push(PlannedEventWithUserAndTriptype {
|
||||
planned_event: event.clone(),
|
||||
cox_needed: event.planned_amount_cox > cox.len() as i64,
|
||||
cox,
|
||||
rower: event.get_all_rower(db).await,
|
||||
planned_event: event,
|
||||
trip_type,
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user