Stripe Payments #163

Merged
RecentRunner merged 4 commits from stripe-payment into main 2026-04-09 23:12:14 -06:00
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");
}