Fix lazy loading in Razorpay payment endpoints
All checks were successful
build-and-deploy / build-deploy (push) Successful in 33s

This commit is contained in:
androidlover5842
2026-02-01 10:38:50 +05:30
parent 13a2eb8afd
commit 66d5684752
2 changed files with 4 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ import org.springframework.web.bind.annotation.RestController
import org.springframework.web.client.RestTemplate
import org.springframework.web.server.ResponseStatusException
import org.springframework.http.HttpStatus
import org.springframework.transaction.annotation.Transactional
import java.time.OffsetDateTime
import java.util.Base64
import java.util.UUID
@@ -41,6 +42,7 @@ class RazorpayPaymentLinksController(
) {
@PostMapping("/payment-link")
@Transactional
fun createPaymentLink(
@PathVariable propertyId: UUID,
@PathVariable bookingId: UUID,

View File

@@ -25,6 +25,7 @@ import org.springframework.web.bind.annotation.RestController
import org.springframework.web.client.RestTemplate
import org.springframework.web.server.ResponseStatusException
import org.springframework.http.HttpStatus
import org.springframework.transaction.annotation.Transactional
import java.time.OffsetDateTime
import java.util.Base64
import java.util.UUID
@@ -41,6 +42,7 @@ class RazorpayQrPayments(
) {
@PostMapping("/qr")
@Transactional
fun createQr(
@PathVariable propertyId: UUID,
@PathVariable bookingId: UUID,