Skip to content

Commit

Permalink
address pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ShankarSinghC committed Dec 20, 2024
1 parent 6c7414f commit bbef5a3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions crates/api_models/src/relay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion crates/openapi/src/routes/relay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {}
Expand Down

0 comments on commit bbef5a3

Please sign in to comment.