Skip to content

Commit

Permalink
Adjust score date attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
nanaya committed Jan 16, 2024
1 parent efcdec8 commit 07aa036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Transformers/ScoreTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public function transformLegacy(LegacyMatch\Score|ScoreModel|SoloScore $score)
$soloScore = $score;
$score = $soloScore->makeLegacyEntry();
$score->score_id = $soloScore->getKey();
$createdAt = $soloScore->created_at_json;
$createdAt = $soloScore->ended_at_json;
$type = $soloScore->getMorphClass();
$pp = $soloScore->pp;
} else {
Expand Down

0 comments on commit 07aa036

Please sign in to comment.