fix ci
This commit is contained in:
@ -77,10 +77,7 @@ WHERE day = ? AND planned_starting_time = ?
|
||||
return;
|
||||
}
|
||||
|
||||
if Trip::find_by_trip_details(db, trip_details.id)
|
||||
.await
|
||||
.is_none()
|
||||
{
|
||||
if Trip::find_by_trip_details(db, self.id).await.is_none() {
|
||||
// This trip_details belongs to a planned_event, no need to do anything
|
||||
return;
|
||||
};
|
||||
|
Reference in New Issue
Block a user