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:
Arun Raj M
2024-09-19 23:30:25 +05:30
committed by GitHub
parent f4fa4cdab4
commit dee91b366a
99 changed files with 2243 additions and 2255 deletions

View File

@ -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")?

View File

@ -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()