diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2016-12-28 12:40:39 +0100 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2016-12-28 12:40:39 +0100 |
commit | 2ac92662ea1577f4a71751ded4dafbd90d74bd2b (patch) | |
tree | 25f0d1679ac6fa90795d83033de2c801d2e06d8d /lib/api/notes.rb | |
parent | b93c72e33a50aaed845fe333dee0201b0b11934e (diff) | |
download | gitlab-ce-2ac92662ea1577f4a71751ded4dafbd90d74bd2b.tar.gz |
Parameter already enforced via grapeclean-api-params
Diffstat (limited to 'lib/api/notes.rb')
-rw-r--r-- | lib/api/notes.rb | 2 |
1 files changed, 0 insertions, 2 deletions
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, |