Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
MadsSR committed Nov 28, 2023
1 parent 0b19a81 commit 2171ec9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/api/ecdar_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -464,7 +464,7 @@ impl EcdarApiAuth for ConcreteEcdarApi {
refresh_token.clone(),
uid,
)
.await?;
.await?;

Ok(Response::new(GetAuthTokenResponse {
access_token,
Expand Down

0 comments on commit 2171ec9

Please sign in to comment.