From 1dac6d342bf56e88d789016c1a591fc49669cfd4 Mon Sep 17 00:00:00 2001 From: Eric Gullickson <16152721+ericgullickson@users.noreply.github.com> Date: Wed, 18 Feb 2026 20:43:00 -0600 Subject: [PATCH] fix: evaluate copyright year in email footer template (refs #221) Add missing $ prefix to template literal expression so the year renders as "2026" instead of literal "{new Date().getFullYear()}". Co-Authored-By: Claude Opus 4.6 --- .../features/notifications/domain/email-layout/base-layout.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/features/notifications/domain/email-layout/base-layout.ts b/backend/src/features/notifications/domain/email-layout/base-layout.ts index 5ecdec1..d6bc21c 100644 --- a/backend/src/features/notifications/domain/email-layout/base-layout.ts +++ b/backend/src/features/notifications/domain/email-layout/base-layout.ts @@ -68,7 +68,7 @@ export function renderEmailLayout(content: string): string { Manage Email Preferences

- © {new Date().getFullYear()} MotoVaultPro. All rights reserved. + © ${new Date().getFullYear()} MotoVaultPro. All rights reserved.