新增:创建疑修消息修复

This commit is contained in:
yystopf 2023-03-09 11:09:04 +08:00
parent 4b618d1a61
commit 917bae4321
1 changed files with 2 additions and 2 deletions

View File

@ -64,8 +64,8 @@ class Api::V1::Issues::CreateService < ApplicationService
# 发消息 # 发消息
if Site.has_notice_menu? if Site.has_notice_menu?
SendTemplateMessageJob.perform_later('IssueAssigned', current_user.id, @issue&.id, assigner_ids) unless assigner_ids.blank? SendTemplateMessageJob.perform_later('IssueAssigned', current_user.id, @created_issue&.id, assigner_ids) unless assigner_ids.blank?
SendTemplateMessageJob.perform_later('ProjectIssue', current_user.id, @issue&.id) SendTemplateMessageJob.perform_later('ProjectIssue', current_user.id, @created_issue&.id)
end end
unlock("Api::V1::Issues::CreateService:#{project.id}") # 结束写数据,解锁 unlock("Api::V1::Issues::CreateService:#{project.id}") # 结束写数据,解锁