feat(business_profile_v2): business profile v2 create and retrieve endpoint (#5606)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in>
This commit is contained in:
Narayan Bhat
2024-08-20 14:50:58 +05:30
committed by GitHub
parent ac7d8c572c
commit 6e7b38a622
28 changed files with 756 additions and 248 deletions

View File

@ -306,7 +306,7 @@ impl MerchantConnectorAccounts {
where
T: std::hash::Hash + Eq,
{
self.filter_and_map(|mca| mca.profile_id.as_deref() == Some(profile_id), func)
self.filter_and_map(|mca| mca.profile_id == profile_id, func)
}
}