mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 21:37:41 +08:00
feat(multitenancy): add support for multitenancy and handle the same in router, producer, consumer, drainer and analytics (#4630)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Arun Raj M <jarnura47@gmail.com>
This commit is contained in:
@ -4,12 +4,12 @@ use common_utils::{errors::CustomResult, request::RequestContent};
|
||||
use error_stack::ResultExt;
|
||||
use masking::ExposeInterface;
|
||||
|
||||
use crate::{core::errors, headers, logger, routes::AppState, services};
|
||||
use crate::{core::errors, headers, logger, routes::SessionState, services};
|
||||
|
||||
const APPLEPAY_INTERNAL_MERCHANT_NAME: &str = "Applepay_merchant";
|
||||
|
||||
pub async fn verify_merchant_creds_for_applepay(
|
||||
state: AppState,
|
||||
state: SessionState,
|
||||
body: verifications::ApplepayMerchantVerificationRequest,
|
||||
merchant_id: String,
|
||||
) -> CustomResult<services::ApplicationResponse<ApplepayMerchantResponse>, errors::ApiErrorResponse>
|
||||
@ -83,7 +83,7 @@ pub async fn verify_merchant_creds_for_applepay(
|
||||
}
|
||||
|
||||
pub async fn get_verified_apple_domains_with_mid_mca_id(
|
||||
state: AppState,
|
||||
state: SessionState,
|
||||
merchant_id: String,
|
||||
merchant_connector_id: String,
|
||||
) -> CustomResult<
|
||||
|
||||
Reference in New Issue
Block a user