This commit is contained in:
garronej
2023-06-10 10:39:47 +02:00
parent 5db8ce3043
commit 54687ec3c0

View File

@ -68,12 +68,10 @@ export function generateJavaStackFiles(params: {
Buffer.from( Buffer.from(
JSON.stringify( JSON.stringify(
{ {
"themes": [themeName, ...extraThemeNames].map(themeName => [ "themes": [themeName, ...extraThemeNames].map(themeName => ({
{ "name": themeName,
"name": themeName, "types": [...themeTypes, ...(doBundlesEmailTemplate ? ["email"] : [])]
"types": [...themeTypes, ...(doBundlesEmailTemplate ? ["email"] : [])] }))
}
])
}, },
null, null,
2 2