Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: pulak-opti <[email protected]>
  • Loading branch information
pulak-opti committed Oct 21, 2024
1 parent 71e774a commit 8fcbc39
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/client/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@ func (f *OptimizelyFactory) Client(clientOptions ...OptionFunc) (*OptimizelyClie
appClient.DecisionService = f.decisionService
} else {
var experimentServiceOptions []decision.CESOptionFunc
if f.userProfileService != nil {
experimentServiceOptions = append(experimentServiceOptions, decision.WithUserProfileService(f.userProfileService))
}
if f.overrideStore != nil {
experimentServiceOptions = append(experimentServiceOptions, decision.WithOverrideStore(f.overrideStore))
}
Expand Down

0 comments on commit 8fcbc39

Please sign in to comment.