Skip to content

Commit

Permalink
Added fix for Separate ACL fix
Browse files Browse the repository at this point in the history
Signed-off-by: Aindriu Lavelle <[email protected]>
  • Loading branch information
aindriu-aiven committed Jan 23, 2024
1 parent 4c2c1cb commit 4a4ac0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public ResponseEntity<TeamOverview> getActivityLogForTeamOverview(
throw new KlawBadRequestException(
"Only values between 1 and 90 are accepted for numberOfDays");
}

return new ResponseEntity<>(
chartsProcessor.getActivityLogForTeamOverview(activityLogForTeam, numberOfDays),
HttpStatus.OK);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,8 @@ public List<CommonUtilsService.ChartsOverviewItem<String, Integer>> selectAclsCo

for (Object[] topic : topics) {
totalAclsCount.add(
CommonUtilsService.ChartsOverviewItem.of((String) topic[0], (Integer) topic[1]));
CommonUtilsService.ChartsOverviewItem.of(
(String) topic[0], ((Long) topic[1]).intValue()));
}
} catch (Exception e) {
log.error("Error selectAclsCountByEnv", e);
Expand Down

0 comments on commit 4a4ac0e

Please sign in to comment.