From 30402f2e890e2f38dd2900383962312d89a48075 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Mart=C3=ADn?= Date: Tue, 19 Jun 2018 10:04:17 +0200 Subject: [PATCH] remove unused statsClient --- app/controllers/copy_controller.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/controllers/copy_controller.js b/app/controllers/copy_controller.js index 13ea9ef0..4e1d4116 100644 --- a/app/controllers/copy_controller.js +++ b/app/controllers/copy_controller.js @@ -11,11 +11,10 @@ const { RATE_LIMIT_ENDPOINTS_GROUPS } = rateLimitsMiddleware; const errorHandlerFactory = require('../services/error_handler_factory'); const streamCopy = require('../services/stream_copy'); -function CopyController(metadataBackend, userDatabaseService, userLimitsService, statsClient, logger) { +function CopyController(metadataBackend, userDatabaseService, userLimitsService, logger) { this.metadataBackend = metadataBackend; this.userDatabaseService = userDatabaseService; this.userLimitsService = userLimitsService; - this.statsClient = statsClient; this.logger = logger; }