Remove useless next() in RouterUtils
MODIFY
src/server/rest/v1/router/RouterUtils.ts
src/server/rest/v1/router/RouterUtils.ts
@@ -10,7 +10,6 @@ export default class RouterUtils {
serverAction: ServerAction, req: Request, res: Response, next: NextFunction): Promise<void> {
try {
await handleMethod(serverAction, req, res, next);
- next();
} catch (error) {
next(error);
Utils.isDevelopmentEnv() && Logging.logConsoleError(error.stack);

Remove useless next() in RouterUtils