Skip to content

Commit

Permalink
fix: remove redundant call to populate_payment_data function (#3054)
Browse files Browse the repository at this point in the history
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: Bernard Eugine <[email protected]>
  • Loading branch information
3 people authored Dec 5, 2023
1 parent 8b7a7aa commit 53df543
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion crates/common_utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ strum = { version = "0.24.1", features = ["derive"] }
thiserror = "1.0.40"
time = { version = "0.3.21", features = ["serde", "serde-well-known", "std"] }
tokio = { version = "1.28.2", features = ["macros", "rt-multi-thread"], optional = true }
utoipa = { version = "3.3.0", features = ["preserve_order"] }

# First party crates
common_enums = { version = "0.1.0", path = "../common_enums" }
Expand Down
4 changes: 0 additions & 4 deletions crates/router/src/core/payments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -953,10 +953,6 @@ where
payment_data,
)
.await?;
operation
.to_domain()?
.populate_payment_data(state, payment_data, merchant_account)
.await?;

let mut router_data = payment_data
.construct_router_data(
Expand Down

0 comments on commit 53df543

Please sign in to comment.