diff --git a/src/api/ecdar_api.rs b/src/api/ecdar_api.rs index 238a7a5..26f0644 100644 --- a/src/api/ecdar_api.rs +++ b/src/api/ecdar_api.rs @@ -19,7 +19,7 @@ use super::server::server::{ SimulationStepRequest, SimulationStepResponse, UpdateAccessRequest, UpdateQueryRequest, UpdateUserRequest, UserTokenResponse, }; -use crate::entities::{access, query, session, user, model}; +use crate::entities::{access, model, query, session, user}; #[derive(Clone)] pub struct ConcreteEcdarApi { @@ -425,7 +425,7 @@ impl EcdarApiAuth for ConcreteEcdarApi { Arc::clone(&self.contexts.user_context), user_credentials, ) - .await?; + .await?; // Check if password in request matches users password if input_password != user_from_db.password { @@ -464,7 +464,7 @@ impl EcdarApiAuth for ConcreteEcdarApi { refresh_token.clone(), uid, ) - .await?; + .await?; Ok(Response::new(GetAuthTokenResponse { access_token,