From 28f0cb1edf86acf9183ad0b40903d8d008216288 Mon Sep 17 00:00:00 2001 From: Youness Chrifi Alaoui Date: Mon, 13 May 2024 15:28:45 +0200 Subject: [PATCH] fixup! editoast: add stdcm v2 endpoint for editoast --- editoast/src/core/v2/stdcm.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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 {