🚨 Fix nestjs warnings, remove old eslint plugins

This commit is contained in:
Manuel
2023-03-17 22:40:14 +01:00
parent 4a856c6267
commit 464b9d4142
10 changed files with 181 additions and 1889 deletions

View File

@@ -23,7 +23,7 @@ export async function getServerSideProps({
const configPath = path.join(process.cwd(), 'data/configs', `${configName}.json`);
const configExists = fs.existsSync(configPath);
const translations = await getServerSideTranslations(req, res, dashboardNamespaces, locale);
const translations = await getServerSideTranslations(dashboardNamespaces, locale, req, res);
if (!configExists) {
// Redirect to 404