mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 21:37:41 +08:00
refactor: Rename business profile to profiles in api, diesel, domain, interface and error types (#5877)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -21,7 +21,7 @@ pub enum ApiIdentifier {
|
||||
CardsInfo,
|
||||
Files,
|
||||
Cache,
|
||||
Business,
|
||||
Profile,
|
||||
Verification,
|
||||
ApiKeys,
|
||||
PaymentLink,
|
||||
@ -184,13 +184,13 @@ impl From<Flow> for ApiIdentifier {
|
||||
|
||||
Flow::CacheInvalidate => Self::Cache,
|
||||
|
||||
Flow::BusinessProfileCreate
|
||||
| Flow::BusinessProfileUpdate
|
||||
| Flow::BusinessProfileRetrieve
|
||||
| Flow::BusinessProfileDelete
|
||||
| Flow::BusinessProfileList
|
||||
Flow::ProfileCreate
|
||||
| Flow::ProfileUpdate
|
||||
| Flow::ProfileRetrieve
|
||||
| Flow::ProfileDelete
|
||||
| Flow::ProfileList
|
||||
| Flow::ToggleExtendedCardInfo
|
||||
| Flow::ToggleConnectorAgnosticMit => Self::Business,
|
||||
| Flow::ToggleConnectorAgnosticMit => Self::Profile,
|
||||
|
||||
Flow::PaymentLinkRetrieve
|
||||
| Flow::PaymentLinkInitiate
|
||||
|
||||
Reference in New Issue
Block a user