summaryrefslogtreecommitdiff
path: root/lib/api/issues.rb
diff options
context:
space:
mode:
authorToon Claes <toon@iotcl.com>2017-07-28 00:08:44 +0200
committerToon Claes <toon@iotcl.com>2017-07-28 00:08:44 +0200
commit39c39ae7911bc87702a808d1e61cd68dae1506f5 (patch)
tree0c4a0285ed2673ed9c8733d869a2e176ba5254bf /lib/api/issues.rb
parentd77088bb0bcb5f77a1337af5bdb30098370f774e (diff)
downloadgitlab-ce-39c39ae7911bc87702a808d1e61cd68dae1506f5.tar.gz
Modify/add some forgotten issues API documentationtc-api-root-merge-requests
Should have been part of !13004.
Diffstat (limited to 'lib/api/issues.rb')
-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 009c6d6bcd4..4cec1145f3a 100644
--- a/lib/api/issues.rb
+++ b/lib/api/issues.rb
@@ -32,7 +32,7 @@ module API
optional :author_id, type: Integer, desc: 'Return issues which are authored by the user with the given ID'
optional :assignee_id, type: Integer, desc: 'Return issues which are assigned to the user with the given ID'
optional :scope, type: String, values: %w[created-by-me assigned-to-me all],
- desc: 'Return merge requests for the given scope: `created-by-me`, `assigned-to-me` or `all`'
+ desc: 'Return issues for the given scope: `created-by-me`, `assigned-to-me` or `all`'
use :pagination
end
@@ -60,7 +60,7 @@ module API
desc: 'Return opened, closed, or all issues'
use :issues_params
optional :scope, type: String, values: %w[created-by-me assigned-to-me all], default: 'created-by-me',
- desc: 'Return merge requests for the given scope: `created-by-me`, `assigned-to-me` or `all`'
+ desc: 'Return issues for the given scope: `created-by-me`, `assigned-to-me` or `all`'
end
get do
issues = find_issues