feat(core): pass profile_id to core from auth layer (#5532)

This commit is contained in:
Hrithikesh
2024-08-06 17:18:25 +05:30
committed by GitHub
parent 5191e940a9
commit 95e9c85235
7 changed files with 23 additions and 8 deletions

View File

@ -4686,6 +4686,7 @@ where
pub async fn list_countries_currencies_for_connector_payment_method(
state: routes::SessionState,
req: ListCountriesCurrenciesRequest,
_profile_id: Option<String>,
) -> errors::RouterResponse<ListCountriesCurrenciesResponse> {
Ok(services::ApplicationResponse::Json(
list_countries_currencies_for_connector_payment_method_util(

View File

@ -12,6 +12,7 @@ pub async fn verify_merchant_creds_for_applepay(
state: SessionState,
body: verifications::ApplepayMerchantVerificationRequest,
merchant_id: common_utils::id_type::MerchantId,
_profile_id: Option<String>,
) -> CustomResult<services::ApplicationResponse<ApplepayMerchantResponse>, errors::ApiErrorResponse>
{
let applepay_merchant_configs = state.conf.applepay_merchant_configs.get_inner();