-
Notifications
You must be signed in to change notification settings - Fork 388
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
Filter out restricted user from Playlist scores #11488
Conversation
app/Http/Controllers/Multiplayer/Rooms/Playlist/ScoresController.php
Outdated
Show resolved
Hide resolved
@@ -130,4 +131,9 @@ public function updateWithScoreLink(ScoreLink $scoreLink): bool | |||
'total_score' => $score->total_score, | |||
])->save(); | |||
} | |||
|
|||
public function user(): BelongsTo |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 🤔
There was a problem hiding this comment.
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? 🤔
…er.php Co-authored-by: Edho Arief <me@nanaya.net>
This is a port of ppy/osu-web#11488 for spectator server.
No description provided.