From 3aae2a4a352920df880393e28e1fbbe5d8dea1e6 Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Wed, 11 Dec 2024 15:02:36 -0800 Subject: [PATCH] Linting --- backend/src/app.module.ts | 1 - backend/src/middleware/req.res.logger.spec.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/backend/src/app.module.ts b/backend/src/app.module.ts index f6de1115c..675421460 100644 --- a/backend/src/app.module.ts +++ b/backend/src/app.module.ts @@ -17,7 +17,6 @@ const DB_PWD = encodeURIComponent(process.env.POSTGRES_PASSWORD || "default"); / const DB_PORT = process.env.POSTGRES_PORT || 5432; const DB_NAME = process.env.POSTGRES_DATABASE || "postgres"; const DB_SCHEMA = process.env.DB_SCHEMA || "users"; -const dataSourceURL = `postgresql://${DB_USER}:${DB_PWD}@${DB_HOST}:${DB_PORT}/${DB_NAME}?schema=${DB_SCHEMA}&connection_limit=5`; function getMiddlewares() { if (process.env.PRISMA_LOGGING) { return [ diff --git a/backend/src/middleware/req.res.logger.spec.ts b/backend/src/middleware/req.res.logger.spec.ts index 121cb732f..4276e4478 100644 --- a/backend/src/middleware/req.res.logger.spec.ts +++ b/backend/src/middleware/req.res.logger.spec.ts @@ -5,7 +5,6 @@ import { Logger } from "@nestjs/common"; describe("HTTPLoggerMiddleware", () => { let middleware: HTTPLoggerMiddleware; - let logger: Logger; beforeEach(async () => { const module = await Test.createTestingModule({