This commit is contained in:
yystopf 2023-03-10 11:15:43 +08:00
parent 633b0ff080
commit d4dab409a7
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class Api::V1::Issues::DeleteService < ApplicationService
project.incre_project_issue_cache_delete_count
if Site.has_blockchain? && @project.use_blockchain
unlock_balance_on_blockchain(@project.user_id.to_s, @project.id.to_s, @issue.blockchain_token_num.to_i)
unlock_balance_on_blockchain(@project.user_id.to_s, @project.id.to_s, @issue.blockchain_token_num.to_i) if @issue.blockchain_token_num.present?
end
if Site.has_notice_menu?