mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
修复
This commit is contained in:
@@ -28,7 +28,7 @@ namespace :sync_data_to_gitea do
|
||||
end
|
||||
end
|
||||
org.organization_users.each do |user|
|
||||
next if ($gitea_client.get_orgs_members_by_org_username(org.login, user.login) rescue nil)
|
||||
$gitea_client.get_orgs_members_by_org_username(org.login, user.login) rescue next
|
||||
user.destroy!
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user