Skip to content

Commit

Permalink
Cleanup unused TenantId
Browse files Browse the repository at this point in the history
  • Loading branch information
MontaltoNick committed Jan 30, 2024
1 parent 6246381 commit 76074eb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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> metrics, String tenantId) {
private MetricsReportResponse calculatePeriodMetrics(String period, LocalDate end, List<Metrics> metrics) {
MetricsReportResponse report = new MetricsReportResponse();

//get current period metrics
Expand Down

0 comments on commit 76074eb

Please sign in to comment.