fix: updated from 9.3.3 to 15
This commit is contained in:
@@ -51,7 +51,7 @@ export async function POST(request: Request) {
|
||||
}
|
||||
|
||||
// Check if event exists and is open
|
||||
const eventCheck: any = await queryOne(
|
||||
const eventCheck: unknown = await queryOne(
|
||||
`SELECT event_id, event_status, max_participants,
|
||||
(SELECT COUNT(*) FROM event_registrations
|
||||
WHERE event_id = $1 AND status = 'REGISTERED') as current_registrations
|
||||
|
||||
Reference in New Issue
Block a user