From 178824582a637c32e2f5a490ab9051516aa8d2a4 Mon Sep 17 00:00:00 2001 From: Shankar Singh C Date: Fri, 20 Dec 2024 11:27:38 +0530 Subject: [PATCH] address pr comments --- crates/api_models/src/relay.rs | 3 --- crates/openapi/src/routes/relay.rs | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/crates/api_models/src/relay.rs b/crates/api_models/src/relay.rs index dc536b214777..7e094f283607 100644 --- a/crates/api_models/src/relay.rs +++ b/crates/api_models/src/relay.rs @@ -12,9 +12,6 @@ pub struct RelayRequest { /// Identifier of the connector ( merchant connector account ) to which relay request is being made #[schema(example = "mca_5apGeP94tMts6rg3U3kR", value_type = String)] pub connector_id: common_utils::id_type::MerchantConnectorAccountId, - /// The business profile that is associated with this relay request - #[schema(example = "pro_abcdefghijklmnopqrstuvwxyz", value_type = String)] - pub profile_id: common_utils::id_type::ProfileId, /// The type of relay request #[serde(rename = "type")] pub relay_type: RelayType, diff --git a/crates/openapi/src/routes/relay.rs b/crates/openapi/src/routes/relay.rs index 2963f8574eef..26aee681f28d 100644 --- a/crates/openapi/src/routes/relay.rs +++ b/crates/openapi/src/routes/relay.rs @@ -28,7 +28,7 @@ ), tag = "Relay", operation_id = "Relay Request", - security(("api_key" = [])) + security(("api_key" = []), ("X-Profile-Id" = []), ("X-Profile-Id" = []), ("X-Idempotency-Key" = [])) )] pub async fn relay() {}