forked from Trustie/forgeplus
fixed 提交作品次数
This commit is contained in:
parent
a583d3156a
commit
16f2aecb6d
|
|
@ -7,7 +7,7 @@ class LimitForbidControl::CompetitionApiScore < LimitForbidControl::Base
|
|||
end
|
||||
|
||||
def allow_times
|
||||
EduSetting.get('daily_api_score_times').presence || 3
|
||||
EduSetting.get('daily_api_score_times').presence.to_i || 3
|
||||
end
|
||||
|
||||
def forbid_expires
|
||||
|
|
|
|||
Loading…
Reference in New Issue