Make card revoke transactional to avoid lazy proxy errors
All checks were successful
build-and-deploy / build-deploy (push) Successful in 32s
All checks were successful
build-and-deploy / build-deploy (push) Successful in 32s
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user