fix: calendar display nothing

This commit is contained in:
Nathan FONTEYNE 2026-07-08 16:34:21 +02:00
parent 323ac4565c
commit 7e4b067e54

View file

@ -123,7 +123,7 @@ async function getSlots({ minPeople = 0, personIds = null, weeks = 3 } = {}) {
const { rows } = await pool.query( const { rows } = await pool.query(
`SELECT `SELECT
ts.id, ts.lower, ts.upper, ts.slot_date, ts.day_of_week, ts.id, ts.lower, ts.upper, to_char(ts.slot_date, 'YYYY-MM-DD') AS slot_date, ts.day_of_week,
filtered.available_count, filtered.total_in_filter, filtered.available_count, filtered.total_in_filter,
( (
SELECT json_agg( SELECT json_agg(