캐릭터 챗봇 #338

Merged
klaus merged 119 commits from test into main 2025-09-10 06:08:47 +00:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit a096b16945 - Show all commits

View File

@ -76,5 +76,6 @@ class ChatQuotaService(
fun purchase(memberId: Long, addPaid: Int) {
val quota = repo.findForUpdate(memberId) ?: repo.save(ChatQuota(memberId = memberId))
quota.remainingPaid += addPaid
quota.nextRechargeAt = null
}
}