diff --git a/lib/api/notes.rb b/lib/api/notes.rb index d0faf17714b1f296e60975de07acf13632d313d0..284e4cf549ad9fb7920046c7dee90eaced1116fa 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,