Azure deployment setup #297

Closed
RecentRunner wants to merge 429 commits from azure-deploy into main
Showing only changes of commit 014a70b8fc - Show all commits

View File

@@ -246,7 +246,7 @@ public class CartService {
Cart cart = cartRepository.findById(cartId)
.orElseThrow(() -> new BusinessException("Cart not found"));
if (!cart.getUser().getUserId().equals(userId)) {
if (!cart.getUser().getId().equals(userId)) {
throw new BusinessException("Unauthorized");
}