Skip to content

Commit 59b76ee

Browse files
committed
HOTFIX: 관리자가 대여기록 추가 시 물품 개수 차감되지 않던 현상 수정
1 parent 5fd1c52 commit 59b76ee

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/kotlin/site/billilge/api/backend/domain/rental/service/RentalService.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ class RentalService(
101101
}
102102
}
103103

104+
item.subtractCount(count)
105+
104106
rentalRepository.save(newRental)
105107

106108
rentalStatusWorkerLogRepository.save(

0 commit comments

Comments
 (0)