Skip to content

Commit f22c910

Browse files
chore: run formatter
1 parent a294e0e commit f22c910

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

crates/router/src/services/authentication.rs

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -696,8 +696,13 @@ where
696696
merchant_id: Some(merchant_id),
697697
key_id: Some(key_id),
698698
} => {
699-
let auth =
700-
construct_authentication_data(state, &merchant_id, request_headers, profile_id).await?;
699+
let auth = construct_authentication_data(
700+
state,
701+
&merchant_id,
702+
request_headers,
703+
profile_id,
704+
)
705+
.await?;
701706
Ok((
702707
auth.clone(),
703708
AuthenticationType::ApiKey {
@@ -711,8 +716,13 @@ where
711716
merchant_id: Some(merchant_id),
712717
key_id: None,
713718
} => {
714-
let auth =
715-
construct_authentication_data(state, &merchant_id, request_headers, profile_id).await?;
719+
let auth = construct_authentication_data(
720+
state,
721+
&merchant_id,
722+
request_headers,
723+
profile_id,
724+
)
725+
.await?;
716726
Ok((
717727
auth.clone(),
718728
AuthenticationType::PublishableKey {

0 commit comments

Comments
 (0)