fix clones()
This commit is contained in:
parent
99296d4060
commit
1c74d11e96
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user