mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
refactor: rename the payment request struct (#48)
This commit is contained in:
@ -10,7 +10,7 @@ use crate::{
|
||||
routes::AppState,
|
||||
services::api,
|
||||
types::api::{
|
||||
self as api_types, payments::PaymentsCaptureRequest, Authorize, PCapture, PSync,
|
||||
self as api_types, payments::PaymentsCaptureRequest, Authorize, Capture, PSync,
|
||||
PaymentListConstraints, PaymentsCancelRequest, PaymentsRequest, PaymentsRetrieveRequest,
|
||||
Void,
|
||||
},
|
||||
@ -251,7 +251,7 @@ pub async fn payment_intents_capture(
|
||||
&req,
|
||||
capture_payload,
|
||||
|state, merchant_account, payload| {
|
||||
payments::payments_core::<PCapture, _, _, _>(
|
||||
payments::payments_core::<Capture, _, _, _>(
|
||||
state,
|
||||
merchant_account,
|
||||
payments::PaymentCapture,
|
||||
|
||||
Reference in New Issue
Block a user