Skip to content

Commit de856e4

Browse files
committed
chore: fix _feature being returned in allVariables
1 parent 21eb47e commit de856e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/devcycle-ruby-server-sdk/api/client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def all_variables(user, opts = {})
353353

354354
if local_bucketing_initialized? && @local_bucketing.has_config
355355
bucketed_config = @local_bucketing.generate_bucketed_config(user)
356-
bucketed_config.variables
356+
bucketed_config.variables.reject { |key, _| key.start_with?('_feature') }
357357
else
358358
{}
359359
end

0 commit comments

Comments
 (0)