mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
change
This commit is contained in:
@@ -8,7 +8,7 @@ class CheckMirrorRake
|
||||
all_projects = Project.select(:id,:identifier,:user_id, :gpid, :forked_count,:is_public).includes(:owner, :repository)
|
||||
all_projects.each do |project|
|
||||
SyncLog.sync_log("=====check_project_id:#{project.id}======")
|
||||
if project&.owner&.login.present? &&
|
||||
if project&.owner&.login.present?
|
||||
response = Gitea::Repository::Branches::ListService.new(project.owner, project.identifier).call
|
||||
else
|
||||
response = "224444"
|
||||
|
||||
Reference in New Issue
Block a user