mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-07-13 21:44:32 +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)
|
Project.find_by(id: self.fork_project_id)
|
||||||
end
|
end
|
||||||
|
|
||||||
def bind_gitea_pull_request!(gitea_pull_number)
|
def bind_gitea_pull_request!(gitea_pull_number, gitea_pull_id)
|
||||||
update_column(:gitea_number, gitea_pull_number)
|
update_columns(
|
||||||
|
gitea_number: gitea_pull_number,
|
||||||
|
gitea_id: gitea_pull_id)
|
||||||
end
|
end
|
||||||
|
|
||||||
def merge!
|
def merge!
|
||||||
|
|||||||
Reference in New Issue
Block a user