diff --git a/editoast/src/core/v2/stdcm.rs b/editoast/src/core/v2/stdcm.rs index 50227d00497..063e6fa88bb 100644 --- a/editoast/src/core/v2/stdcm.rs +++ b/editoast/src/core/v2/stdcm.rs @@ -1,6 +1,5 @@ use std::collections::HashMap; -use crate::core::pathfinding::PathfindingResponse; use crate::core::v2::simulation::RoutingRequirement; use crate::core::v2::simulation::SpacingRequirement; use chrono::DateTime; @@ -89,12 +88,8 @@ pub enum STDCMResponse { path: PathfindingResultSuccess, departure_time: DateTime, }, - PathNotFound { - pathfinding_failure: PathfindingResponse, - }, - SimulationNotFound { - simulation_failure: SimulationResponse, - }, + PathNotFound, + SimulationNotFound, } impl AsCoreRequest> for STDCMRequest {