We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 99992f8 + e6f566e commit fb99c7bCopy full SHA for fb99c7b
lib/travis/api/v3/service_index.rb
@@ -133,7 +133,7 @@ def render_json
133
:request_method => request_method,
134
:uri_template => prefix + template
135
}
136
- action[:accepted_params] = factory.accepted_params if ['POST'.freeze, 'PATCH'.freeze].include? request_method
+ action[:accepted_params] = factory.accepted_params.uniq if ['POST'.freeze, 'PATCH'.freeze].include? request_method
137
list << action
138
end
139
0 commit comments