refactor(api): update all API routes to use new player field names

This commit is contained in:
2026-04-03 21:03:51 -07:00
parent a1329f077f
commit c00f26919b
11 changed files with 103 additions and 591 deletions
+4 -4
View File
@@ -119,10 +119,10 @@ export async function POST(request: Request) {
const createdMatch = await prisma.match.create({
data: matchData,
include: {
team1P1: true,
team1P2: true,
team2P1: true,
team2P2: true,
player1P1: true,
player1P2: true,
player2P1: true,
player2P2: true,
},
});