coin -> can 으로 변경

This commit is contained in:
2023-08-13 20:24:48 +09:00
parent c8764be69f
commit 4bf8617102
2 changed files with 4 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ import org.springframework.transaction.annotation.Transactional
@Service
class AudioContentDonationService(
private val coinPaymentService: CanPaymentService,
private val canPaymentService: CanPaymentService,
private val queryRepository: AudioContentRepository,
private val commentRepository: AudioContentCommentRepository
) {
@@ -24,7 +24,7 @@ class AudioContentDonationService(
val audioContent = queryRepository.findByIdAndActive(request.contentId)
?: throw SodaException("잘못된 콘텐츠 입니다.\n다시 시도해 주세요.")
coinPaymentService.spendCan(
canPaymentService.spendCan(
memberId = member.id!!,
needCan = request.donationCan,
canUsage = CanUsage.DONATION,