From a9a646b7d0aeab160e3a49dfc707a9fd6fbe5734 Mon Sep 17 00:00:00 2001 From: Thomas Poignant Date: Sun, 7 Jul 2024 13:27:37 +0200 Subject: [PATCH] fix: Add default for apiKey (#10) Signed-off-by: Thomas Poignant --- Sources/GOFeatureFlag/options.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/GOFeatureFlag/options.swift b/Sources/GOFeatureFlag/options.swift index 9ffc941..745f8d2 100644 --- a/Sources/GOFeatureFlag/options.swift +++ b/Sources/GOFeatureFlag/options.swift @@ -10,7 +10,7 @@ public struct GoFeatureFlagProviderOptions { public init( endpoint: String, pollInterval: TimeInterval = 30, - apiKey: String?, + apiKey: String? = nil, networkService: NetworkingService? = URLSession.shared) { self.endpoint = endpoint self.pollInterval = pollInterval