mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-09 22:39:50 +08:00
FIX 完善同步educoder平台实训
This commit is contained in:
@@ -214,6 +214,7 @@ class Project < ApplicationRecord
|
||||
end
|
||||
|
||||
result['data']['repositories'].each do |re|
|
||||
next if re['repo_name'].blank?
|
||||
language = ProjectLanguage.find_by_name re['language']
|
||||
language = ProjectLanguage.create!(name: re['language']) if language.blank?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user