mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-16 01:35:56 +08:00
修复
This commit is contained in:
@@ -227,7 +227,7 @@ class PullRequestsController < ApplicationController
|
||||
|
||||
# 查看是否fix了相关issue,如果fix就转账
|
||||
@pull_request.attached_issues.each do |issue|
|
||||
next if PullAttachedIssue.exist?(issue_id: issue.id, fixed: true)
|
||||
next if PullAttachedIssue.exists?(issue_id: issue.id, fixed: true)
|
||||
token_num = issue.blockchain_token_num
|
||||
token_num = token_num.nil? ? 0 : token_num
|
||||
author_id = @pull_request.user_id
|
||||
|
||||
Reference in New Issue
Block a user