Skip to content

Commit

Permalink
Change time from 1 minute to 29 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
VasylyshynDmytro committed Dec 2, 2024
1 parent 6429fc5 commit 6de3a16
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ private void checkingEqualityDateTimeInEventDateLocationDto(List<EventDateLocati
.filter(eventDateLocationDto -> Duration.between(
eventDateLocationDto.getStartDate(),
eventDateLocationDto.getFinishDate()
).toMinutes() <= 1)
).toMinutes() <= 29)
.findAny()
.ifPresent(eventDateLocationDto -> {
throw new IllegalArgumentException(ErrorMessage.INVALID_DURATION_BETWEEN_START_AND_FINISH);
Expand Down

0 comments on commit 6de3a16

Please sign in to comment.