mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 12:06:56 +08:00
feat(payment_methods): added kv support for payment_methods table (#4311)
Co-authored-by: Akshay S <akshay.s@Akshay-Subramanian-D66TQ6D97K.local> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -201,7 +201,9 @@ pub async fn payment_method_retrieve_api(
|
||||
state,
|
||||
&req,
|
||||
payload,
|
||||
|state, auth, pm, _| cards::retrieve_payment_method(state, pm, auth.key_store),
|
||||
|state, auth, pm, _| {
|
||||
cards::retrieve_payment_method(state, pm, auth.key_store, auth.merchant_account)
|
||||
},
|
||||
&auth::ApiKeyAuth,
|
||||
api_locking::LockAction::NotApplicable,
|
||||
))
|
||||
@ -319,6 +321,7 @@ pub async fn default_payment_method_set_api(
|
||||
auth.key_store,
|
||||
&customer_id,
|
||||
default_payment_method.payment_method_id,
|
||||
auth.merchant_account.storage_scheme,
|
||||
)
|
||||
},
|
||||
&*ephemeral_auth,
|
||||
|
||||
Reference in New Issue
Block a user