Skip to content

Commit

Permalink
New Update
Browse files Browse the repository at this point in the history
1. Fix #309
  • Loading branch information
megoRU committed Jan 25, 2024
1 parent 82f9ff6 commit b343abf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/main/service/StopGiveawayService.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ public void stop() {
if (!lockEnd && now.after(endGiveawayDate)) {
LOGGER.info(logMessage);
giveaway.stopGiveaway(countWinners);
} else if (finishGiveaway) {
LOGGER.info(logMessage);
giveaway.stopGiveaway(countWinners);
}
}
} catch (Exception e) {
Expand Down

0 comments on commit b343abf

Please sign in to comment.