diff --git a/api/src/main/java/com/lantanagroup/link/api/controller/MetricController.java b/api/src/main/java/com/lantanagroup/link/api/controller/MetricController.java index cedf0d08f..915e00f82 100644 --- a/api/src/main/java/com/lantanagroup/link/api/controller/MetricController.java +++ b/api/src/main/java/com/lantanagroup/link/api/controller/MetricController.java @@ -94,14 +94,14 @@ public MetricsReportResponse getMetricReport( //calculate metrics based on period, we can assume that all categories have already been //filtered down based on tenant and/or report if those parameters were provided - MetricsReportResponse report = this.calculatePeriodMetrics(period, endDate, metrics, tenantId); + MetricsReportResponse report = this.calculatePeriodMetrics(period, endDate, metrics); return report; } //TODO: This functionality probably should be broken out into a service - private MetricsReportResponse calculatePeriodMetrics(String period, LocalDate end, List metrics, String tenantId) { + private MetricsReportResponse calculatePeriodMetrics(String period, LocalDate end, List metrics) { MetricsReportResponse report = new MetricsReportResponse(); //get current period metrics