mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 12:06:56 +08:00
feat: expire client secret after a merchant configurable intent fufliment time (#956)
This commit is contained in:
@ -75,7 +75,6 @@ pub async fn list_payment_method_api(
|
||||
) -> HttpResponse {
|
||||
let flow = Flow::PaymentMethodsList;
|
||||
let payload = json_payload.into_inner();
|
||||
|
||||
let (auth, _) = match auth::check_client_secret_and_get_auth(req.headers(), &payload) {
|
||||
Ok((auth, _auth_flow)) => (auth, _auth_flow),
|
||||
Err(e) => return api::log_and_return_error_response(e),
|
||||
|
||||
Reference in New Issue
Block a user