mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-08 12:16:12 -05:00
Fix match-details wrongly detecting resending
This commit is contained in:
@@ -76,7 +76,9 @@ export const action: ActionFunction = async ({ request }) => {
|
||||
if (!match) {
|
||||
return new Response("Invalid match id", { status: 400 });
|
||||
}
|
||||
if (match.stages[0].details) {
|
||||
|
||||
// we already have details for this match
|
||||
if (match.stages[0].details.length > 0) {
|
||||
return new Response(null, { status: 200 });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user