Skip to content

Commit

Permalink
fix(lints): fix clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
lsampras committed May 31, 2024
1 parent f30b4a1 commit 623bc57
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions crates/router/src/routes/admin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ pub async fn payment_connector_delete(
merchant_connector_id,
})
.into_inner();
api::server_wrap(
Box::pin(api::server_wrap(
flow,
state,
&req,
Expand All @@ -430,7 +430,7 @@ pub async fn payment_connector_delete(
req.headers(),
),
api_locking::LockAction::NotApplicable,
)
))
.await
}
/// Merchant Account - Toggle KV
Expand Down
8 changes: 4 additions & 4 deletions crates/router/src/routes/routing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ pub async fn retrieve_surcharge_decision_manager_config(
req: HttpRequest,
) -> impl Responder {
let flow = Flow::DecisionManagerRetrieveConfig;
oss_api::server_wrap(
Box::pin(oss_api::server_wrap(
flow,
state,
&req,
Expand All @@ -405,7 +405,7 @@ pub async fn retrieve_surcharge_decision_manager_config(
#[cfg(feature = "release")]
&auth::JWTAuth(Permission::SurchargeDecisionManagerRead),
api_locking::LockAction::NotApplicable,
)
))
.await
}

Expand Down Expand Up @@ -482,7 +482,7 @@ pub async fn retrieve_decision_manager_config(
req: HttpRequest,
) -> impl Responder {
let flow = Flow::DecisionManagerRetrieveConfig;
oss_api::server_wrap(
Box::pin(oss_api::server_wrap(
flow,
state,
&req,
Expand All @@ -499,7 +499,7 @@ pub async fn retrieve_decision_manager_config(
#[cfg(feature = "release")]
&auth::JWTAuth(Permission::SurchargeDecisionManagerRead),
api_locking::LockAction::NotApplicable,
)
))
.await
}

Expand Down

0 comments on commit 623bc57

Please sign in to comment.