refactor(router): add api_version and make profile_id mandatory in mca v2 (#5602)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Sai Harsha Vardhan
2024-08-14 20:49:26 +05:30
committed by GitHub
parent 19a9180925
commit 56791c2743
25 changed files with 108 additions and 130 deletions

View File

@ -1336,7 +1336,7 @@ pub(super) trait GetProfileId {
impl GetProfileId for MerchantConnectorAccount {
fn get_profile_id(&self) -> Option<&String> {
self.profile_id.as_ref()
Some(&self.profile_id)
}
}