Commit 6892216f authored by Sean McGivern's avatar Sean McGivern

Merge branch 'clean-api-params' into 'master'

Parameter already enforced via grape

See merge request !8344
parents b32176bc 2ac92662
......@@ -69,8 +69,6 @@ module API
optional :created_at, type: String, desc: 'The creation date of the note'
end
post ":id/#{noteables_str}/:noteable_id/notes" do
required_attributes! [:body]
opts = {
note: params[:body],
noteable_type: noteables_str.classify,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment