Fix hanging of seeding, because of the 'i18n' configuration

This commit is contained in:
Wolfgang Huß 2022-10-11 09:56:02 +02:00
parent 54461e2465
commit 056afdb2a5
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ export const sendEmailTranslated = async (params: {
// wait: false, // wait: false,
// }, // },
// }, // },
// i18n, // i18n, // seems not to be needed
}) })
email email

View File

@ -74,7 +74,7 @@ const createServer = async (
defaultLocale: 'en', defaultLocale: 'en',
retryInDefaultLocale: false, retryInDefaultLocale: false,
directory: path.join(__dirname, '..', 'locales'), directory: path.join(__dirname, '..', 'locales'),
autoReload: true, // autoReload: true, // if this is activated the seeding hangs at the very end
updateFiles: false, updateFiles: false,
objectNotation: true, objectNotation: true,
// logDebugFn: logger.debug, // logDebugFn: logger.debug,