pm 关闭grimoirelab推送事件

This commit is contained in:
呱呱呱 2023-11-02 10:26:47 +08:00
parent f00c3931a8
commit 061b71955f
1 changed files with 2 additions and 2 deletions

View File

@ -71,14 +71,14 @@ class Api::V1::Issues::CreateService < ApplicationService
if @created_issue.blockchain_token_num.present? && @created_issue.blockchain_token_num > 0
Blockchain::CreateIssue.call({user_id: current_user.id, project_id: @created_issue.project_id, token_num: @created_issue.blockchain_token_num})
end
push_activity_2_blockchain("issue_create", @created_issue)
end
project.del_project_issue_cache_delete_count # 把缓存里存储项目删除issue的个数清除掉
# 新增时向grimoirelab推送事件
IssueWebhookJob.set(wait: 5.seconds).perform_later(@created_issue.id)
IssueWebhookJob.set(wait: 5.seconds).perform_later(@created_issue.id) unless @project.id.zero?
# @信息发送
AtmeService.call(current_user, @atme_receivers, @created_issue) unless receivers_login.blank?