Skip to content

Commit

Permalink
config evals were not properly adding the tier
Browse files Browse the repository at this point in the history
  • Loading branch information
peburrows committed Aug 12, 2024
1 parent 5705242 commit d0a4e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/statsig_ex.ex
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ defmodule StatsigEx do
def get_config(nil, _config, _server), do: {:error, :no_user}

def get_config(user, config, server) do
user = Utils.get_user_with_env(user)
user = Utils.get_user_with_env(user, get_tier(server))
result = StatsigEx.Evaluator.eval(user, config, :config, server)
log_exposures(server, user, result.exposures, :config)

Expand Down

0 comments on commit d0a4e11

Please sign in to comment.