Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2016-12-28 14:40:39 +0300
committerRobert Schilling <rschilling@student.tugraz.at>2016-12-28 14:40:39 +0300
commit2ac92662ea1577f4a71751ded4dafbd90d74bd2b (patch)
tree25f0d1679ac6fa90795d83033de2c801d2e06d8d /lib/api/notes.rb
parentb93c72e33a50aaed845fe333dee0201b0b11934e (diff)
Parameter already enforced via grape
Diffstat (limited to 'lib/api/notes.rb')
-rw-r--r--lib/api/notes.rb2
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,