mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
FIX code bug
This commit is contained in:
@@ -54,8 +54,10 @@ class PullRequest < ApplicationRecord
|
||||
Project.find_by(id: self.fork_project_id)
|
||||
end
|
||||
|
||||
def bind_gitea_pull_request!(gitea_pull_number)
|
||||
update_column(:gitea_number, gitea_pull_number)
|
||||
def bind_gitea_pull_request!(gitea_pull_number, gitea_pull_id)
|
||||
update_columns(
|
||||
gitea_number: gitea_pull_number,
|
||||
gitea_id: gitea_pull_id)
|
||||
end
|
||||
|
||||
def merge!
|
||||
|
||||
Reference in New Issue
Block a user