fix: use floats in report template (#14714)

This commit is contained in:
Marcin Tojek
2024-09-18 13:26:34 +02:00
committed by GitHub
parent fccf6f1e0e
commit 20a3801600
5 changed files with 21 additions and 9 deletions

View File

@ -0,0 +1,5 @@
UPDATE notification_templates
SET
body_template = REPLACE(body_template::text, '{{if gt $version.failed_count 1.0}}', '{{if gt $version.failed_count 1}}')::text
WHERE
id = '34a20db2-e9cc-4a93-b0e4-8569699d7a00';

View File

@ -0,0 +1,5 @@
UPDATE notification_templates
SET
body_template = REPLACE(body_template::text, '{{if gt $version.failed_count 1}}', '{{if gt $version.failed_count 1.0}}')::text
WHERE
id = '34a20db2-e9cc-4a93-b0e4-8569699d7a00';