BigW Consortium Gitlab

Commit aac297ad by Lin Jen-Shin

Update style as create_note

parent 68b5ded0
......@@ -61,9 +61,12 @@ module Gitlab
def process_create_issue
validate_permission(message_sender, message_project, :create_issue)
issue = Issues::CreateService.new(message_project, message_sender,
issue = Issues::CreateService.new(
message_project,
message_sender,
title: message.subject,
description: handle_reply(message_project)).execute
description: handle_reply(message_project)
).execute
unless issue.persisted?
msg = "The issue could not be created for the following reasons:"
......
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