From 50f2700f5256a1c16c57220f7b2456a7f7475b5f Mon Sep 17 00:00:00 2001 From: Yuki Takei Date: Sat, 13 Jul 2024 18:40:49 +0000 Subject: [PATCH] fix lint error --- .../migrations/20230731075753-add_installed_date_to_config.js | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/app/src/migrations/20230731075753-add_installed_date_to_config.js b/apps/app/src/migrations/20230731075753-add_installed_date_to_config.js index 50bd5185797..ec7f119ee5a 100644 --- a/apps/app/src/migrations/20230731075753-add_installed_date_to_config.js +++ b/apps/app/src/migrations/20230731075753-add_installed_date_to_config.js @@ -38,7 +38,6 @@ module.exports = { async down() { logger.info('Rollback migration'); mongoose.connect(getMongoUri(), mongoOptions); - const Config = getModelSafely('Config') || ConfigModel; const appInstalled = await Config.findOne({ key: 'app:installed' }); if (appInstalled != null) {