This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
FIX 完善同步educoder平台实训
tags/v1.0.0
Jasder
5 years ago
parent
2eef143251
commit
7f685e4119
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
app/models/project.rb
+ 1
- 0
app/models/project.rb
View File
@@ -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?
Write
Preview
Loading…
Cancel
Save