mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-22 04:35:45 +08:00
fix: transfer repository user id
This commit is contained in:
@@ -28,7 +28,7 @@ class Projects::TransferService < ApplicationService
|
||||
end
|
||||
|
||||
def update_repo_url
|
||||
project.repository.update!(url: @gitea_repo["clone_url"])
|
||||
project.repository.update!(user_id: new_owner.id, url: @gitea_repo["clone_url"])
|
||||
end
|
||||
|
||||
def update_visit_teams
|
||||
|
||||
Reference in New Issue
Block a user