mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 05:17:02 +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:
@ -90,7 +90,7 @@ pub async fn generate_sample_data(
|
||||
|
||||
state
|
||||
.store
|
||||
.list_business_profile_by_merchant_id(key_manager_state, &key_store, merchant_id)
|
||||
.list_profile_by_merchant_id(key_manager_state, &key_store, merchant_id)
|
||||
.await
|
||||
.change_context(SampleDataError::InternalServerError)
|
||||
.attach_printable("Failed to get business profile")?
|
||||
|
||||
@ -382,7 +382,7 @@ pub async fn get_single_merchant_id_and_profile_id(
|
||||
|
||||
state
|
||||
.store
|
||||
.list_business_profile_by_merchant_id(&state.into(), &key_store, &merchant_id)
|
||||
.list_profile_by_merchant_id(&state.into(), &key_store, &merchant_id)
|
||||
.await
|
||||
.change_context(UserErrors::InternalServerError)?
|
||||
.pop()
|
||||
|
||||
Reference in New Issue
Block a user