remove unused variable

This commit is contained in:
philipp 2023-09-29 12:40:58 +02:00
parent 70bbc87859
commit 1b001ab49b

View File

@ -134,8 +134,6 @@ ORDER BY departure DESC
let mut ret = Vec::new();
for log in logs {
let date_time = Local.from_local_datetime(&log.departure).single().unwrap();
ret.push(LogbookWithBoatAndRowers {
rowers: Rower::for_log(db, &log).await,
boat: Boat::find_by_id(db, log.boat_id as i32).await.unwrap(),