From 014603dbb158ebd9abf5cf2a50163706a206c69a Mon Sep 17 00:00:00 2001 From: Mia Bennett Date: Mon, 16 Dec 2024 11:23:02 +0930 Subject: [PATCH] fix(template_mailer): handle Int64 (updated_at/created_at) when parsing template fields --- drivers/place/template_mailer.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/place/template_mailer.cr b/drivers/place/template_mailer.cr index 292d07ff38..339e70bc95 100644 --- a/drivers/place/template_mailer.cr +++ b/drivers/place/template_mailer.cr @@ -258,7 +258,7 @@ class Place::TemplateMailer < PlaceOS::Driver end end - alias Template = Hash(String, String) + alias Template = Hash(String, String | Int64) # zone_id, timeout, templates alias TemplateCache = Hash(String, Tuple(Int64, Array(Template)))