Skip to content

Commit

Permalink
Hotfix match response currentbetting Terminal Operation firstFind
Browse files Browse the repository at this point in the history
  • Loading branch information
tlsgmltjd committed May 6, 2024
1 parent 816d01b commit 0644b61
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public MatchResponse execute(int month, int day) {
.map(match -> {

Optional<BetEntity> currentBetting = bettings.stream()
.findFirst().filter(bet -> bet.getMatch().equals(match));
.filter(bet -> bet.getMatch().equals(match)).findFirst();

return MatchInfoDto.builder()
.matchId(match.getMatchId())
Expand Down

0 comments on commit 0644b61

Please sign in to comment.