This commit is contained in:
parent
633b0ff080
commit
d4dab409a7
|
@ -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?
|
||||
|
|
Loading…
Reference in New Issue