staging #374
@ -77,6 +77,14 @@ WHERE day = ? AND planned_starting_time = ?
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if Trip::find_by_trip_details(db, trip_details.id)
|
||||||
|
.await
|
||||||
|
.is_none()
|
||||||
|
{
|
||||||
|
// This trip_details belongs to a planned_event, no need to do anything
|
||||||
|
return;
|
||||||
|
};
|
||||||
|
|
||||||
let other_trips_same_time = Self::find_by_startingdatetime(
|
let other_trips_same_time = Self::find_by_startingdatetime(
|
||||||
db,
|
db,
|
||||||
self.day.clone(),
|
self.day.clone(),
|
||||||
|
Loading…
Reference in New Issue
Block a user