remove unused statsClient

This commit is contained in:
Simon Martín 2018-06-19 10:04:17 +02:00
parent b4724d7408
commit 30402f2e89

View File

@ -11,11 +11,10 @@ const { RATE_LIMIT_ENDPOINTS_GROUPS } = rateLimitsMiddleware;
const errorHandlerFactory = require('../services/error_handler_factory'); const errorHandlerFactory = require('../services/error_handler_factory');
const streamCopy = require('../services/stream_copy'); const streamCopy = require('../services/stream_copy');
function CopyController(metadataBackend, userDatabaseService, userLimitsService, statsClient, logger) { function CopyController(metadataBackend, userDatabaseService, userLimitsService, logger) {
this.metadataBackend = metadataBackend; this.metadataBackend = metadataBackend;
this.userDatabaseService = userDatabaseService; this.userDatabaseService = userDatabaseService;
this.userLimitsService = userLimitsService; this.userLimitsService = userLimitsService;
this.statsClient = statsClient;
this.logger = logger; this.logger = logger;
} }