fix unit tests
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 3m43s

This commit is contained in:
2025-11-30 14:50:28 -08:00
parent cb80145ea0
commit 6174cf7d97
5 changed files with 38 additions and 12 deletions

View File

@@ -2404,6 +2404,7 @@ BEGIN
'A new flyer for ' || (SELECT name FROM public.stores WHERE store_id = NEW.store_id) || ' has been uploaded.',
'file-text',
jsonb_build_object(
'flyer_id', NEW.flyer_id,
'store_name', (SELECT name FROM public.stores WHERE store_id = NEW.store_id),
'valid_from', to_char(NEW.valid_from, 'YYYY-MM-DD'),
'valid_to', to_char(NEW.valid_to, 'YYYY-MM-DD')