Skip to content

Commit

Permalink
Fix condition for getting remote config
Browse files Browse the repository at this point in the history
  • Loading branch information
pkosiec committed Mar 3, 2023
1 parent 9ae1042 commit a279fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/graphql/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const (
)

func IsRemoteConfigEnabled() bool {
return os.Getenv(GqlProviderEndpointEnvKey) != ""
return os.Getenv(GqlProviderIdentifierEnvKey) != ""
}

// Option define GraphQL client option.
Expand Down

0 comments on commit a279fdf

Please sign in to comment.