Skip to content
Snippets Groups Projects
Commit 2ac92662 authored by Robert Schilling's avatar Robert Schilling
Browse files

Parameter already enforced via grape

parent b93c72e3
No related branches found
No related tags found
1 merge request!8344Parameter already enforced via grape
Pipeline #
Loading
Loading
@@ -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,
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment