Files
zeekay 09e3c36cbf template: strict channel match, no silent fall-through
Previous version preferred a channel-specific row but fell through to
channel-agnostic when no match existed — so an SMS request could
silently render an email template. Tighten so the lookup key is
(tenant, name) when channel="" and (tenant, name, channel) when set,
with no crossover. SMS in == SMS out; if there's no SMS template,
error loud.

Also collapses two near-identical FindRecordsByFilter calls into one
with a conditional clause — single source of truth for the query.
2026-06-02 01:58:15 -07:00
..