Skip to content

Commit 93742b4

Browse files
committed
fix: count all registrations for table
1 parent 133e058 commit 93742b4

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

apps/api/src/services/unterveranstaltung/unterveranstaltungList.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,7 @@ export const unterveranstaltungListProcedure = defineProtectedQueryProcedure({
102102
},
103103
_count: {
104104
select: {
105-
Anmeldung: {
106-
where: {
107-
status: 'BESTAETIGT',
108-
},
109-
},
105+
Anmeldung: true,
110106
},
111107
},
112108
meldebeginn: true,

0 commit comments

Comments
 (0)