fix notfications
Some checks failed
CI and deploy / migration-check (push) Failing after 11s
CI and deploy / deploy (push) Has been skipped

This commit is contained in:
Dusan Vojacek
2026-04-27 19:13:16 +02:00
parent 30585c9779
commit 69c979b967
2 changed files with 5 additions and 1 deletions

View File

@@ -63,7 +63,8 @@ as $fn$
from ems.vw_site_effective_price v
where v.site_id = p_site_id
and v.interval_start >= now()
and v.interval_start < now() + interval '48 hours'
-- Python notifikace používají jen ceny v horizontu 6 h (24×15 min slotů).
and v.interval_start < now() + interval '6 hours'
),
'[]'::jsonb
),