Skip to content

Commit

Permalink
fix: Add default for apiKey (#10)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>
  • Loading branch information
thomaspoignant authored Jul 7, 2024
1 parent dd919ab commit a9a646b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/GOFeatureFlag/options.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a9a646b

Please sign in to comment.