Skip to content

Commit

Permalink
fixed erros
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderManich committed Nov 29, 2023
1 parent a52319e commit b7a6a3d
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/api/ecdar_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ use super::server::server::{
CreateAccessRequest, CreateModelRequest, CreateModelResponse, CreateQueryRequest,
CreateUserRequest, DeleteAccessRequest, DeleteModelRequest, DeleteQueryRequest,
GetAuthTokenRequest, GetAuthTokenResponse, GetModelRequest, GetModelResponse,
ListModelsInfoResponse, QueryRequest, QueryResponse, SimulationStartRequest,
SimulationStepRequest, SimulationStepResponse, UpdateAccessRequest, UpdateQueryRequest,
UpdateUserRequest, UserTokenResponse,
ListModelsInfoResponse, Query, QueryRequest, QueryResponse, SimulationStartRequest,
SimulationStepRequest, SimulationStepResponse, UpdateAccessRequest, UpdateModelRequest,
UpdateQueryRequest, UpdateUserRequest, UserTokenResponse,
};
use crate::api::context_collection::ContextCollection;
use crate::api::{
Expand Down Expand Up @@ -237,7 +237,10 @@ impl EcdarApi for ConcreteEcdarApi {
}
}

async fn update_model(&self, _request: Request<()>) -> Result<Response<()>, Status> {
async fn update_model(
&self,
_request: Request<UpdateModelRequest>,
) -> Result<Response<()>, Status> {
todo!()
}

Expand Down Expand Up @@ -754,10 +757,6 @@ mod model_logic_tests;
#[path = "../tests/api/user_logic.rs"]
mod user_logic_tests;

#[cfg(test)]
#[path = "../tests/api/model_logic.rs"]
mod model_logic_tests;

#[cfg(test)]
#[path = "../tests/api/session_logic.rs"]
mod session_logic_tests;

0 comments on commit b7a6a3d

Please sign in to comment.