Sfoglia il codice sorgente

chore: ignore unused variable for error handler

Pouria Ezzati 3 anni fa
parent
commit
e434e9e27f
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      server/handlers/helpers.ts

+ 1 - 0
server/handlers/helpers.ts

@@ -12,6 +12,7 @@ export const ip: Handler = (req, res, next) => {
   return next();
   return next();
 };
 };
 
 
+// eslint-disable-next-line
 export const error: ErrorRequestHandler = (error, _req, res, _next) => {
 export const error: ErrorRequestHandler = (error, _req, res, _next) => {
   logger.error(error);
   logger.error(error);