Skip to content

Commit

Permalink
order round
Browse files Browse the repository at this point in the history
  • Loading branch information
Atralupus committed Jan 23, 2025
1 parent 6997d15 commit b1b95ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ArenaService/Extensions/SeasonExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public static SeasonResponse ToResponse(this Season season)
RefreshTicketPolicy = season.RefreshTicketPolicy.ToResponse(),
TotalPrize = season.TotalPrize,
PrizeDetailSiteURL = "",
Rounds = season.Rounds.Select(r => r.ToResponse()).ToList(),
Rounds = season.Rounds.OrderBy(r => r.StartBlock).Select(r => r.ToResponse()).ToList(),
};
}
}

0 comments on commit b1b95ca

Please sign in to comment.