Skip to content

Commit

Permalink
Merge pull request #11172 from notbakaneko/feature/score-transformer-…
Browse files Browse the repository at this point in the history
…scores-around-missing-preload

Add missing ScoreTransformer preload for multiplayer scores
  • Loading branch information
nanaya authored Apr 30, 2024
2 parents 3867404 + 0c06ddd commit fa18574
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Transformers/ScoreTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class ScoreTransformer extends TransformerAbstract
const MULTIPLAYER_BASE_INCLUDES = ['user.country', 'user.cover'];
// warning: the preload is actually for PlaylistItemUserHighScore, not for Score
const MULTIPLAYER_BASE_PRELOAD = [
'scoreLink.playlistItem',
'scoreLink.score',
'scoreLink.score.processHistory',
'scoreLink.user.country',
Expand Down

0 comments on commit fa18574

Please sign in to comment.