mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-31 01:57:45 +08:00
refactor(router): remove foreign wrapper type (#616)
Co-authored-by: Arun Raj M <jarnura47@gmail.com> Co-authored-by: Narayan Bhat <48803246+Narayanbhat166@users.noreply.github.com> Co-authored-by: Abhishek <abhishek.marrivagu@juspay.in> Co-authored-by: dracarys18 <karthikey.hegde@juspay.in> Co-authored-by: Sampras Lopes <lsampras@protonmail.com> Co-authored-by: Jagan <jaganelavarasan@gmail.com> Co-authored-by: rupakrajak <43450369+rupakrajak@users.noreply.github.com> Co-authored-by: Zaid <syed.zaidali@juspay.in> Co-authored-by: Rajak Rupakkumar Asishkumar <rajak.rupakkumar@juspay.in>
This commit is contained in:
@ -153,10 +153,7 @@ async fn refunds_incoming_webhook_flow(
|
||||
.foreign_try_into()
|
||||
.into_report()
|
||||
.change_context(errors::WebhooksFlowError::RefundsCoreFailed)?;
|
||||
let refund_response: api_models::refunds::RefundResponse = updated_refund
|
||||
.foreign_try_into()
|
||||
.into_report()
|
||||
.change_context(errors::WebhooksFlowError::RefundsCoreFailed)?;
|
||||
let refund_response: api_models::refunds::RefundResponse = updated_refund.foreign_into();
|
||||
create_event_and_trigger_outgoing_webhook(
|
||||
state,
|
||||
merchant_account,
|
||||
|
||||
Reference in New Issue
Block a user