From 24ecc9c27f6c7c5eac4ccff60051cbaff6aba374 Mon Sep 17 00:00:00 2001 From: Kashif Date: Fri, 8 Nov 2024 10:47:33 +0530 Subject: [PATCH] refactor: resolve nits --- .../src/connectors/worldpay/requests.rs | 4 ++-- .../src/connectors/worldpay/response.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs b/crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs index e9c775cf998b..884caa9e840b 100644 --- a/crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs +++ b/crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs @@ -331,5 +331,5 @@ pub struct WorldpayCompleteAuthorizationRequest { pub collection_reference: Option, } -pub const THREE_DS_MODE: &str = "always"; -pub const THREE_DS_TYPE: &str = "integrated"; +pub(super) const THREE_DS_MODE: &str = "always"; +pub(super) const THREE_DS_TYPE: &str = "integrated"; diff --git a/crates/hyperswitch_connectors/src/connectors/worldpay/response.rs b/crates/hyperswitch_connectors/src/connectors/worldpay/response.rs index 9f5fd9e7d3e2..5e9fb0304243 100644 --- a/crates/hyperswitch_connectors/src/connectors/worldpay/response.rs +++ b/crates/hyperswitch_connectors/src/connectors/worldpay/response.rs @@ -457,4 +457,4 @@ pub enum WorldpayWebhookStatus { } /// Worldpay's unique reference ID for a request -pub const WP_CORRELATION_ID: &str = "WP-CorrelationId"; +pub(super) const WP_CORRELATION_ID: &str = "WP-CorrelationId";