1 parent 968d2b1 commit 1d00c54Copy full SHA for 1d00c54
1 file changed
src/app/api/competitions/get_registrations/[id]/route.ts
@@ -22,6 +22,9 @@ export async function GET(
22
where: { competition_id: id },
23
include: {
24
teams: {
25
+ where: {
26
+ is_registered: true,
27
+ },
28
29
team_leader: {
30
select: {
0 commit comments