mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: use floats in report template (#14714)
This commit is contained in:
@@ -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';
|
||||
@@ -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';
|
||||
Reference in New Issue
Block a user