Skip to content

Commit 19b96f8

Browse files
fix: null exception when no options used (#681)
Signed-off-by: Todd Baert <[email protected]> Co-authored-by: Todd Baert <[email protected]>
1 parent 85bbd84 commit 19b96f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

providers/statsig/src/main/java/dev/openfeature/contrib/providers/statsig/StatsigProviderConfig.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
@Builder
1313
public class StatsigProviderConfig {
1414

15-
private StatsigOptions options;
15+
@Builder.Default
16+
private StatsigOptions options = new StatsigOptions();
1617

1718
// Only holding temporary for initialization
1819
private String sdkKey;

0 commit comments

Comments
 (0)