We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 680f7fe commit dbb4e74Copy full SHA for dbb4e74
1 file changed
hasura/functions/tournaments/schedule_tournament_match.sql
@@ -80,7 +80,7 @@ CREATE OR REPLACE FUNCTION public.schedule_tournament_match(bracket public.tourn
80
-- Check if stage has match_options_id first, otherwise use tournament match_options_id
81
IF stage.match_options_id IS NOT NULL THEN
82
_match_options_id := stage.match_options_id;
83
- ELSE IF bracket.match_options_id IS NOT NULL THEN
+ ELSIF bracket.match_options_id IS NOT NULL THEN
84
_match_options_id := bracket.match_options_id;
85
ELSE
86
_match_options_id := tournament.match_options_id;
0 commit comments