Fix stale comment in finalize-bracket action
The template is now fetched only as a validity guard, not for round order iteration (which was removed in the previous commit). https://claude.ai/code/session_01RhQS6FQRh6iYtVNaryCEf5
This commit is contained in:
parent
5e88853260
commit
3981fe37ab
1 changed files with 1 additions and 1 deletions
|
|
@ -690,7 +690,7 @@ export async function action({ request, params }: Route.ActionArgs) {
|
||||||
return { error: "No bracket exists for this event" };
|
return { error: "No bracket exists for this event" };
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get template to determine round order
|
// Verify the event has a valid bracket template configured
|
||||||
const template = event.bracketTemplateId ? getBracketTemplate(event.bracketTemplateId) : null;
|
const template = event.bracketTemplateId ? getBracketTemplate(event.bracketTemplateId) : null;
|
||||||
if (!template) {
|
if (!template) {
|
||||||
return { error: "Bracket template not found" };
|
return { error: "Bracket template not found" };
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue