Commit c7c7633
fix(cron): notify-audit-groups 500 — Date brute en param SQL
getOverdueGroups interpolait un objet Date dans un template sql`` brut
(${fourteenDaysAgo}) -> postgres-js: TypeError ERR_INVALID_ARG_TYPE
(Received an instance of Date) -> le cron des relances plantait (500),
donc aucune relance Teams/Discord. Fix: passer fourteenDaysAgo.toISOString().
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent afca506 commit c7c7633
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
0 commit comments