fix: resolved minor issue (#53)
Release package / release (push) Successful in 19m13s

Co-authored-by: TakahashiNg <83152264+TakahashiNguyen@users.noreply.github.com>
Reviewed-on: #53
This commit was merged in pull request #53.
This commit is contained in:
2026-05-12 15:01:58 +00:00
parent 6777581022
commit 43734b51aa
@@ -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;