From 9ba884483d2a739545013afc6eecf3e9eee02e0a Mon Sep 17 00:00:00 2001 From: Joseph Garrone Date: Sat, 25 Jan 2025 18:30:52 +0100 Subject: [PATCH] keycloakify-email isn't strictly bound to jsx-email --- src/bin/initialize-email-theme.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/bin/initialize-email-theme.ts b/src/bin/initialize-email-theme.ts index 88efb69e..4e681762 100644 --- a/src/bin/initialize-email-theme.ts +++ b/src/bin/initialize-email-theme.ts @@ -49,12 +49,15 @@ export async function command(params: { buildContext: BuildContext }) { } const { value: emailThemeType } = await cliSelect({ - values: ["native (FreeMarker)" as const, "jsx-email (React)" as const] + values: [ + "native (FreeMarker)" as const, + "Another email templating solution" as const + ] }).catch(() => { process.exit(-1); }); - if (emailThemeType === "jsx-email (React)") { + if (emailThemeType === "Another email templating solution") { console.log( [ "There is currently no automated support for keycloakify-email, it has to be done manually, see documentation:",