This commit is contained in:
yystopf 2023-03-09 09:54:24 +08:00
parent edf60ca0a8
commit 2d7a0ef2e1
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ class Api::V1::Issues::Journals::CreateService < ApplicationService
@created_journal.save!
@issue.save!
push_activity_2_blockchain("issue_comment_create", @created_journal) if Site.has_blockchain? && @project.use_blockchain
push_activity_2_blockchain("issue_comment_create", @created_journal) if Site.has_blockchain? && @issue.project&.use_blockchain
# @信息发送
AtmeService.call(current_user, @atme_receivers, @created_journal) unless receivers_login.blank?

View File

@ -122,7 +122,7 @@ class PullRequests::CreateService < ApplicationService
end
end
def issue_tag_ids
def attached_issue_ids
Array(@params[:attached_issue_ids])
end