diff options
author | Toon Claes <toon@gitlab.com> | 2017-01-26 13:29:17 +0100 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2017-01-26 13:29:17 +0100 |
commit | 6ecd0c99dfce4b041f70a55a651f5e179e62e2d4 (patch) | |
tree | 735435b9f1a0110b31be29acd1d69d28f916b82e /lib/api/issues.rb | |
parent | 44d71f1bc907e619821546f2709f8257d49ed7a1 (diff) | |
download | gitlab-ce-tc-v4-api-namespace.tar.gz |
API v4 no longer accepts `iid` for Issuestc-v4-api-namespace
But make API v3 working like it was.
Diffstat (limited to 'lib/api/issues.rb')
-rw-r--r-- | lib/api/issues.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/api/issues.rb b/lib/api/issues.rb index fe016c1ec0a..1b47d56f343 100644 --- a/lib/api/issues.rb +++ b/lib/api/issues.rb @@ -15,8 +15,6 @@ module API labels = args.delete(:labels) args[:label_name] = labels if match_all_labels - args[:search] = "#{Issue.reference_prefix}#{args.delete(:iid)}" if args.key?(:iid) - issues = IssuesFinder.new(current_user, args).execute.inc_notes_with_associations # TODO: Remove in 9.0 pass `label_name: args.delete(:labels)` to IssuesFinder |