diff --git a/src/store/booking-repository.ts b/src/store/booking-repository.ts index 2e41104..7808af2 100644 --- a/src/store/booking-repository.ts +++ b/src/store/booking-repository.ts @@ -51,7 +51,7 @@ export class BookingRepository { `INSERT INTO bookings (court_id, member_id, date, start_hour, hours, team_name, price_cents, created_at) VALUES (?, ?, ?, ?, ?, ?, ?, ?)`, ) - .run(row.court_id, row.member_id, row.date, row.start_hour, row.hours, row.team_name, row.price_cents, row.created_at); + .run(row.court_id, row.member_id, row.date, row.start_hour, 1, row.team_name, row.price_cents, row.created_at); return Number(result.lastInsertRowid); }