Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter out restricted user from Playlist scores #11488

Merged

Conversation

notbakaneko
Copy link
Collaborator

No description provided.

@notbakaneko notbakaneko changed the title Filter out restricted user from room scores Filter out restricted user from Playlist scores Sep 13, 2024
@peppy peppy requested a review from nanaya September 13, 2024 05:11
@@ -130,4 +131,9 @@ public function updateWithScoreLink(ScoreLink $scoreLink): bool
'total_score' => $score->total_score,
])->save();
}

public function user(): BelongsTo
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh right, this should be in relation function area?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are we still doing that 🤔

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so for scopes, relations and laravel model setters/getters? 🤔

@nanaya nanaya enabled auto-merge September 13, 2024 08:42
@nanaya nanaya merged commit c029567 into ppy:master Sep 13, 2024
3 checks passed
@notbakaneko notbakaneko deleted the feature/room-highscore-filter-restricted branch September 17, 2024 04:01
bdach added a commit to bdach/osu-server-spectator that referenced this pull request Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants