mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-12 05:35:31 +00:00
Merge remote-tracking branch 'server/master'
This commit is contained in:
commit
406da2b832
1 file changed
+5
-2
+5
-2
@@ -632,8 +632,11 @@ public class EventsResource extends AbstractSailingServerResource {
|
||||
/* leaderboardDiscardThresholdsParam */ leaderboardDiscardThresholdsParam, numberOfRacesParam, canBoatsOfCompetitorsChangePerRace,
|
||||
competitorRegistrationType, localCompetitorRegistrationSecret);
|
||||
if (leaderboardGroup != null) {
|
||||
// no security checks for any overall leaderboard required here as we don't manipulate it through this service
|
||||
getService().apply(new UpdateLeaderboardGroup(leaderboardGroup.getId(), leaderboardGroup.getName(),
|
||||
// no security checks for any overall leaderboard required here as we don't manipulate it
|
||||
// through this service. leaderboardGroup.getOverallLeaderboard() == null will be true, due to
|
||||
// overallLeaderboardScoringSchemeTypeParam being null in validateAndAddLeaderboardGroup call.
|
||||
getService().apply(new UpdateLeaderboardGroup(leaderboardGroup.getId(),
|
||||
leaderboardGroup.getName(),
|
||||
leaderboardGroup.getDescription(), leaderboardGroup.getDisplayName(),
|
||||
Collections.singletonList(leaderboard.getName()),
|
||||
leaderboardGroup.getOverallLeaderboard() == null ? null
|
||||
|
||||
Reference in new issue
Block a user