디버깅용 print 제거

This commit is contained in:
Klaus 2024-02-23 14:04:23 +09:00
parent 7328283b6b
commit b163427514
1 changed files with 0 additions and 4 deletions

View File

@ -37,10 +37,8 @@ class NewRouletteService(
if (creatorId != memberId) throw SodaException("잘못된 요청입니다.")
var rouletteList = repository.findByCreatorId(creatorId)
println(rouletteList)
if (rouletteList.isEmpty()) {
val roulette = oldRepository.findByIdOrNull(creatorId)
println(roulette)
if (roulette != null) {
repository.save(
NewRoulette(
@ -57,8 +55,6 @@ class NewRouletteService(
}
}
rouletteList.sortedBy { it.id }
println(rouletteList)
println(oldRepository.findByIdOrNull(creatorId))
return rouletteList.asSequence()
.map {