Commit 9251a1bf authored by Robert Speicher's avatar Robert Speicher

Bring CE-EE parity to app/services/boards/issues/create_service.rb

parent 4c63e904
...@@ -10,11 +10,15 @@ module Boards ...@@ -10,11 +10,15 @@ module Boards
end end
def execute def execute
create_issue(params.merge(label_ids: [list.label_id])) create_issue(params.merge(issue_params))
end end
private private
def issue_params
{ label_ids: [list.label_id] }
end
def board def board
@board ||= parent.boards.find(params.delete(:board_id)) @board ||= parent.boards.find(params.delete(:board_id))
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment