Skip to content

Commit 026e52d

Browse files
committed
Return JSON object from features endpoint
1 parent 9f0f082 commit 026e52d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/controllers/api/features_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def index
99
.select { |feature| Flipper.enabled?(feature.key, school) }
1010
.map(&:key)
1111

12-
render json: enabled_feature_keys
12+
render json: { enabled: enabled_feature_keys }
1313
end
1414
end
1515
end

0 commit comments

Comments
 (0)