Skip to content

Commit

Permalink
Merge pull request #90 from mash-up-kr/fix/alone-redis
Browse files Browse the repository at this point in the history
fix: Add default name for blanks
  • Loading branch information
210-reverof authored Oct 1, 2024
2 parents c396829 + 63c2069 commit 37eeefb
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ class EventService(
groupId = groupId,
description = description,
date = date,
eventStatus = EventStatus.VOTING,
uploadingEndDate = LocalDateTime.now()
eventStatus = EventStatus.VOTING
)
)
} else {
Expand All @@ -59,6 +58,8 @@ class EventService(

if (groupJoinCount > 1) {
eventRedisRepository.setEventStatusExpiredTime(currentEventStatus = EventStatus.UPLOADING, eventId = event.id)
} else {
eventRedisRepository.setEventStatusExpiredTime(currentEventStatus = EventStatus.VOTING, eventId = event.id)
}

return event.id
Expand Down

0 comments on commit 37eeefb

Please # to comment.