Skip to content

Commit a9a646b

Browse files
fix: Add default for apiKey (#10)
Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>
1 parent dd919ab commit a9a646b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/GOFeatureFlag/options.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public struct GoFeatureFlagProviderOptions {
1010
public init(
1111
endpoint: String,
1212
pollInterval: TimeInterval = 30,
13-
apiKey: String?,
13+
apiKey: String? = nil,
1414
networkService: NetworkingService? = URLSession.shared) {
1515
self.endpoint = endpoint
1616
self.pollInterval = pollInterval

0 commit comments

Comments
 (0)