We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f0f082 commit 026e52dCopy full SHA for 026e52d
1 file changed
app/controllers/api/features_controller.rb
@@ -9,7 +9,7 @@ def index
9
.select { |feature| Flipper.enabled?(feature.key, school) }
10
.map(&:key)
11
12
- render json: enabled_feature_keys
+ render json: { enabled: enabled_feature_keys }
13
end
14
15
0 commit comments