summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@gitlab.com>2017-03-10 09:19:12 +0100
committerBob Van Landuyt <bob@gitlab.com>2017-03-13 08:27:52 +0100
commitea70a0d674539d53e40c63a0a3cebef33d7e13b7 (patch)
tree8d4e9f1801c33ab87b7a266528f81de0a812bef1 /lib
parenta07e89b2751f1855e2fe4bdf05a5967fd7421778 (diff)
downloadgitlab-ce-ea70a0d674539d53e40c63a0a3cebef33d7e13b7.tar.gz
Rename variable
merge_request_for_resolving_discussions -> merge_request_to_resolve_discussions_of
Diffstat (limited to 'lib')
-rw-r--r--lib/api/issues.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/issues.rb b/lib/api/issues.rb
index 162e13a313d..1abe8639445 100644
--- a/lib/api/issues.rb
+++ b/lib/api/issues.rb
@@ -116,10 +116,10 @@ module API
requires :title, type: String, desc: 'The title of an issue'
optional :created_at, type: DateTime,
desc: 'Date time when the issue was created. Available only for admins and project owners.'
- optional :merge_request_for_resolving_discussions, type: Integer,
+ optional :merge_request_to_resolve_discussions_of, type: Integer,
desc: 'The IID of a merge request for which to resolve discussions'
optional :discussion_to_resolve, type: String,
- desc: 'The ID of a discussion to resolve, also pass `merge_request_for_resolving_discussions`'
+ desc: 'The ID of a discussion to resolve, also pass `merge_request_to_resolve_discussions_of`'
use :issue_params
end
post ':id/issues' do