chore: update
Java CI with Maven / test (pull_request) Successful in 5m27s
Java CI with Maven / build (pull_request) Successful in 20m9s

This commit is contained in:
TakahashiNg
2026-05-12 14:40:19 +00:00
parent 6777581022
commit c55c946fec
@@ -109,7 +109,8 @@ public class CartService {
Cart cart = new Cart();
cart.Id = cartId;
cart.eateryId = UUID.fromString(data.get("_metadata_eatery"));
cart.userId = UUID.fromString(data.get("_metadata_owner"));
String ownerStr = data.get("_metadata_owner");
cart.userId = "GUEST".equals(ownerStr) ? null : UUID.fromString(ownerStr);
cart.items = new ArrayList<>();
long total = 0;