Skip to content

Commit

Permalink
fixup! editoast: add stdcm v2 endpoint for editoast
Browse files Browse the repository at this point in the history
  • Loading branch information
younesschrifi committed May 13, 2024
1 parent 5e3136d commit 6af3a3c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions editoast/src/core/v2/stdcm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,8 @@ pub enum STDCMResponse {
path: PathfindingResultSuccess,
departure_time: DateTime<Utc>,
},
PathNotFound {
pathfinding_failure: PathfindingResponse,
},
SimulationNotFound {
simulation_failure: SimulationResponse,
},
PathNotFound,
SimulationNotFound,
}

impl AsCoreRequest<Json<STDCMResponse>> for STDCMRequest {
Expand Down

0 comments on commit 6af3a3c

Please sign in to comment.