From 6af3a3cd9050db6d04410442ec6d439ea38c9293 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 | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/editoast/src/core/v2/stdcm.rs b/editoast/src/core/v2/stdcm.rs index 50227d00497..a87f9510f5b 100644 --- a/editoast/src/core/v2/stdcm.rs +++ b/editoast/src/core/v2/stdcm.rs @@ -89,12 +89,8 @@ pub enum STDCMResponse { path: PathfindingResultSuccess, departure_time: DateTime, }, - PathNotFound { - pathfinding_failure: PathfindingResponse, - }, - SimulationNotFound { - simulation_failure: SimulationResponse, - }, + PathNotFound, + SimulationNotFound, } impl AsCoreRequest> for STDCMRequest {