Skip to content

Commit 75f86cf

Browse files
committed
fix(payment_methods): Fixed errors
1 parent 43bd6cd commit 75f86cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/router/src/routes/payment_methods.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ pub async fn list_customer_payment_method_api_client(
214214
auth.key_store,
215215
Some(req),
216216
None,
217-
is_ephemeral_auth.then(|| api_key).flatten(),
217+
is_ephemeral_auth.then_some(api_key).flatten(),
218218
)
219219
},
220220
&*auth,

0 commit comments

Comments
 (0)