mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-31 01:57:45 +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:
@ -611,7 +611,7 @@ impl From<errors::ApiErrorResponse> for StripeErrorCode {
|
||||
object: "authentication".to_owned(),
|
||||
id,
|
||||
},
|
||||
errors::ApiErrorResponse::BusinessProfileNotFound { id } => Self::ResourceMissing {
|
||||
errors::ApiErrorResponse::ProfileNotFound { id } => Self::ResourceMissing {
|
||||
object: "business_profile".to_owned(),
|
||||
id,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user