Compare commits

...

2 Commits

1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ class CompetitionUser < ApplicationRecord
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
data
data["data"]
rescue =>err
return {}
end