From de22f3f599b2051d6ffd0a65b833059fe4b35e09 Mon Sep 17 00:00:00 2001 From: Namit Date: Mon, 5 Feb 2024 22:38:59 +0530 Subject: [PATCH] test: changed 2 files to test --- src/app.ts | 1 - src/checks.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/src/app.ts b/src/app.ts index e3eeef04d3..e26d89fda3 100644 --- a/src/app.ts +++ b/src/app.ts @@ -11,7 +11,6 @@ import { appConfig } from "./config"; import { requestContext, requestTracing, stream } from "./libraries"; //@ts-ignore import graphqlUploadExpress from "graphql-upload/graphqlUploadExpress.mjs"; - const app = express(); app.use(requestTracing.middleware()); diff --git a/src/checks.ts b/src/checks.ts index 425f980c17..41147f2781 100644 --- a/src/checks.ts +++ b/src/checks.ts @@ -3,7 +3,6 @@ import { User } from "./models"; import { generateErrorMessage } from "zod-error"; import { getEnvIssues } from "./env"; import { logger } from "./libraries"; - const logWarningForSuperAdminEnvVariable = async (): Promise => { const superAdminExist = await User.exists({ userType: "SUPERADMIN" }); const isVariablePresentInEnvFile = !!LAST_RESORT_SUPERADMIN_EMAIL;