From 2ac92662ea1577f4a71751ded4dafbd90d74bd2b Mon Sep 17 00:00:00 2001 From: Robert Schilling Date: Wed, 28 Dec 2016 12:40:39 +0100 Subject: Parameter already enforced via grape --- lib/api/notes.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/api/notes.rb') diff --git a/lib/api/notes.rb b/lib/api/notes.rb index d0faf17714b..284e4cf549a 100644 --- a/lib/api/notes.rb +++ b/lib/api/notes.rb @@ -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, -- cgit v1.2.1