forked from Gitlink/forgeplus
Merge branch 'dev_osredm_server' of https://gitlink.org.cn/Trustie/forgeplus into dev_osredm_server
This commit is contained in:
commit
afb91a17f0
|
@ -139,7 +139,6 @@ class CompetitionUser < ApplicationRecord
|
|||
end
|
||||
|
||||
def stage_max_score_data(stage)
|
||||
{} if stage_api_status(stage) != 3
|
||||
api_result = self.competition_user_scores.where(stage: stage.to_i).order(score: :desc).first&.api_result
|
||||
{} if api_result.blank?
|
||||
data = JSON.parse api_result
|
||||
|
|
Loading…
Reference in New Issue