From e434e9e27f5d6df206b25378abd56eb9805d6266 Mon Sep 17 00:00:00 2001 From: Pouria Ezzati Date: Tue, 29 Nov 2022 20:13:10 +0330 Subject: [PATCH] chore: ignore unused variable for error handler --- server/handlers/helpers.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/server/handlers/helpers.ts b/server/handlers/helpers.ts index 500279173..adc580b42 100644 --- a/server/handlers/helpers.ts +++ b/server/handlers/helpers.ts @@ -12,6 +12,7 @@ export const ip: Handler = (req, res, next) => { return next(); }; +// eslint-disable-next-line export const error: ErrorRequestHandler = (error, _req, res, _next) => { logger.error(error);