Skip to content

Commit

Permalink
Fix ListAction
Browse files Browse the repository at this point in the history
  • Loading branch information
C4tWithShell committed Oct 25, 2023
1 parent d674690 commit 53f18b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public void handleProjectRequest(ProjectDto project, Request request, Response r
.selectByComponentUuidsAndMetricKeys(dbSession, pullRequestUuids, List.of(CoreMetrics.ALERT_STATUS_KEY)).stream()
.collect(CommunityMoreCollectors.uniqueIndex(LiveMeasureDto::getComponentUuid));
Map<String, String> analysisDateByBranchUuid = getDbClient().snapshotDao().selectLastAnalysesByRootComponentUuids(dbSession, pullRequestUuids).stream()
.collect(CommunityMoreCollectors.uniqueIndex(SnapshotDto::getComponentUuid, s -> DateUtils.formatDateTime(s.getCreatedAt())));
.collect(CommunityMoreCollectors.uniqueIndex(SnapshotDto::getUuid, s -> DateUtils.formatDateTime(s.getCreatedAt())));

ProjectPullRequests.ListWsResponse.Builder protobufResponse = ProjectPullRequests.ListWsResponse.newBuilder();
pullRequests
Expand Down

0 comments on commit 53f18b6

Please sign in to comment.