From b62bf05427431b32b791c0ccd9acdedf29a431ec Mon Sep 17 00:00:00 2001 From: Boris Nikolic Date: Mon, 25 Mar 2024 10:40:21 +0100 Subject: [PATCH] Remove testing headers --- Debug App/Sources/Network/Networking.swift | 1 - .../PrimerSDK/Classes/PCI/Services/API/Primer/PrimerAPI.swift | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Debug App/Sources/Network/Networking.swift b/Debug App/Sources/Network/Networking.swift index 379e0ba4f4..886fd1a640 100644 --- a/Debug App/Sources/Network/Networking.swift +++ b/Debug App/Sources/Network/Networking.swift @@ -92,7 +92,6 @@ class Networking { if let apiVersion = apiVersion { request.addValue(apiVersion.rawValue, forHTTPHeaderField: "x-api-version") request.addValue("IOS", forHTTPHeaderField: "Client") - request.addValue("chkt-2307-cvv-recapture-flag", forHTTPHeaderField: "x-primer-branch") } let headerDescriptions = request.allHTTPHeaderFields?.map { key, value in diff --git a/Sources/PrimerSDK/Classes/PCI/Services/API/Primer/PrimerAPI.swift b/Sources/PrimerSDK/Classes/PCI/Services/API/Primer/PrimerAPI.swift index f210a21e61..f055a42bd3 100644 --- a/Sources/PrimerSDK/Classes/PCI/Services/API/Primer/PrimerAPI.swift +++ b/Sources/PrimerSDK/Classes/PCI/Services/API/Primer/PrimerAPI.swift @@ -98,8 +98,7 @@ internal extension PrimerAPI { static let headers: [String: String] = [ "Content-Type": "application/json", "Primer-SDK-Version": VersionUtils.releaseVersionNumber ?? "n/a", - "Primer-SDK-Client": PrimerSource.sdkSourceType.sourceType, - "x-primer-branch": "chkt-2307-cvv-recapture-flag" + "Primer-SDK-Client": PrimerSource.sdkSourceType.sourceType ] var headers: [String: String]? {