Make card revoke transactional to avoid lazy proxy errors
All checks were successful
build-and-deploy / build-deploy (push) Successful in 32s

This commit is contained in:
androidlover5842
2026-01-28 18:28:02 +05:30
parent 385a66d5c5
commit ba88aae4cf

View File

@@ -151,6 +151,7 @@ class IssuedCards(
} }
@PostMapping("/cards/{cardIndex}/revoke") @PostMapping("/cards/{cardIndex}/revoke")
@org.springframework.transaction.annotation.Transactional
fun revoke( fun revoke(
@PathVariable propertyId: UUID, @PathVariable propertyId: UUID,
@PathVariable cardIndex: Int, @PathVariable cardIndex: Int,