mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-04-24 06:58:10 -05:00
Fix internal server error in the tournament standings API
This commit is contained in:
parent
8c0a7f09da
commit
b635a788a0
|
|
@ -27,6 +27,7 @@ export const loader = async ({ params, request }: LoaderFunctionArgs) => {
|
|||
});
|
||||
|
||||
const bracket = notFoundIfFalsy(tournament.bracketByIdx(bidx));
|
||||
notFoundIfFalsy(!bracket.preview);
|
||||
|
||||
const result: GetTournamentBracketStandingsResponse = {
|
||||
standings: bracket.standings.map((standing) => ({
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user