BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
40be92e7
Commit
40be92e7
authored
Mar 01, 2017
by
Bob Van Landuyt
Committed by
Bob Van Landuyt
Mar 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make API v3 compatible with the changes in `Issues::CreateService`
parent
ffe135cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
issues.rb
lib/api/v3/issues.rb
+0
-6
No files found.
lib/api/v3/issues.rb
View file @
40be92e7
...
@@ -140,12 +140,6 @@ module API
...
@@ -140,12 +140,6 @@ module API
issue_params
=
declared_params
(
include_missing:
false
)
issue_params
=
declared_params
(
include_missing:
false
)
if
merge_request_iid
=
params
[
:merge_request_for_resolving_discussions
]
issue_params
[
:merge_request_for_resolving_discussions
]
=
MergeRequestsFinder
.
new
(
current_user
,
project_id:
user_project
.
id
).
execute
.
find_by
(
iid:
merge_request_iid
)
end
issue
=
::
Issues
::
CreateService
.
new
(
user_project
,
issue
=
::
Issues
::
CreateService
.
new
(
user_project
,
current_user
,
current_user
,
issue_params
.
merge
(
request:
request
,
api:
true
)).
execute
issue_params
.
merge
(
request:
request
,
api:
true
)).
execute
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment