Skip to content

Commit

Permalink
Stage 2. equals method fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TY95MC committed Jan 17, 2024
1 parent d97e98f commit 17a9834
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public List<EventShortDto> getEventsPublic(String text, List<Integer> categories
.requestDate(LocalDateTime.now())
.build());

if (categories != null && categories.size() == 1 && categories.get(0).equals(0L)) {
if (categories != null && categories.size() == 1 && categories.get(0).equals(0)) {
categories = null;
}

Expand Down

0 comments on commit 17a9834

Please sign in to comment.