feat(payment_methods): Use Ephemeral auth for pm list and pm delete (#4996)

This commit is contained in:
Sarthak Soni
2024-06-13 19:10:40 +05:30
committed by GitHub
parent 18493bd8f0
commit ad7886a6ff
5 changed files with 65 additions and 15 deletions

View File

@ -195,6 +195,7 @@ pub async fn list_customer_payment_method_api(
auth.key_store,
Some(req),
Some(&customer_id),
None,
)
},
&auth::ApiKeyAuth,