mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
新增:上链需要项目开启区块链机制
This commit is contained in:
@@ -160,7 +160,7 @@ class IssuesController < ApplicationController
|
||||
# 新增时向grimoirelab推送事件
|
||||
IssueWebhookJob.set(wait: 5.seconds).perform_later(@issue.id)
|
||||
|
||||
if Site.has_blockchain?
|
||||
if Site.has_blockchain? && @project.use_blockchain
|
||||
# author: zxh
|
||||
# 扣除发起人的token
|
||||
if @issue.blockchain_token_num > 0
|
||||
|
||||
Reference in New Issue
Block a user