Skip to content

Commit a5a6645

Browse files
committed
address: lints
1 parent 6234e4e commit a5a6645

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

crates/router/src/core/payments/flows/cancel_post_capture_flow.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,14 @@ impl Feature<api::PostCaptureVoid, types::PaymentsCancelPostCaptureData>
111111
merchant_context: &domain::MerchantContext,
112112
creds_identifier: Option<&str>,
113113
) -> RouterResult<types::AddAccessTokenResult> {
114-
access_token::add_access_token(state, connector, merchant_context, self, creds_identifier)
115-
.await
114+
Box::pin(access_token::add_access_token(
115+
state,
116+
connector,
117+
merchant_context,
118+
self,
119+
creds_identifier,
120+
))
121+
.await
116122
}
117123

118124
async fn build_flow_specific_connector_request(

0 commit comments

Comments
 (0)