feat(users): refactor ProdIntent to support product-type context and merchant-scope (#7638)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Sandeep Kumar
2025-04-10 15:14:07 +05:30
committed by GitHub
parent 203ae3e97e
commit bbd2102274
10 changed files with 51 additions and 19 deletions

View File

@ -2974,7 +2974,7 @@ pub async fn list_merchants_for_user_in_org(
.map(|merchant_account| user_api::UserMerchantAccountResponse {
merchant_name: merchant_account.merchant_name.clone(),
merchant_id: merchant_account.get_id().to_owned(),
product_type: merchant_account.product_type.clone(),
product_type: merchant_account.product_type,
version: merchant_account.version,
})
.collect::<Vec<_>>(),