Skip to content

Commit

Permalink
reviewing all the updated code
Browse files Browse the repository at this point in the history
  • Loading branch information
[karthik] committed Oct 1, 2023
1 parent 41611b6 commit 0777312
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
6 changes: 4 additions & 2 deletions crates/router/src/connector/worldline/transformers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,9 @@ impl<F, T> TryFrom<types::ResponseRouterData<F, Payment, T, types::PaymentsRespo
mandate_reference: None,
connector_metadata: None,
network_txn_id: None,
connector_response_reference_id: Some(item.response.reference.unwrap_or(item.response.id)),
connector_response_reference_id: Some(
item.response.reference.unwrap_or(item.response.id),
),
}),
..item.data
})
Expand Down Expand Up @@ -556,7 +558,7 @@ impl<F, T> TryFrom<types::ResponseRouterData<F, PaymentResponse, T, types::Payme
mandate_reference: None,
connector_metadata: None,
network_txn_id: None,
connector_response_reference_id: Option<String>,
connector_response_reference_id: Option::<String>,
}),
..item.data
})
Expand Down
8 changes: 8 additions & 0 deletions package-lock.json

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

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@
"description": "This is just to run automated newman tests for this service",
"devDependencies": {
"newman": "git+ssh://[email protected]:knutties/newman.git#37708c1fbf6b36240ac796a42dc5a7b435990764"
},
"dependencies": {
"cargo": "^0.8.0"
}
}

0 comments on commit 0777312

Please sign in to comment.