From 0b3ec5da167de3634294b575eaaaa1a361cb126a Mon Sep 17 00:00:00 2001 From: tanshu Date: Fri, 6 Aug 2021 08:20:18 +0530 Subject: [PATCH] Fix: Product Detail / List would not show the quantity. --- barker/barker/routers/product.py | 1 + 1 file changed, 1 insertion(+) diff --git a/barker/barker/routers/product.py b/barker/barker/routers/product.py index 7d04923..bea607d 100644 --- a/barker/barker/routers/product.py +++ b/barker/barker/routers/product.py @@ -408,6 +408,7 @@ def product_info(item: ProductVersion) -> schemas.Product: price=item.price, hasHappyHour=item.has_happy_hour, isNotAvailable=item.is_not_available, + quantity=item.quantity, isActive=True, sortOrder=item.sort_order, )