Skip to content

Commit

Permalink
fix(template_mailer): handle Int64 (updated_at/created_at) when parsi…
Browse files Browse the repository at this point in the history
…ng template fields
  • Loading branch information
chillfox committed Dec 16, 2024
1 parent e302c8d commit 014603d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/place/template_mailer.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit 014603d

Please sign in to comment.