From 0fff2c60341cedc3e5f8c7ffbeb1293c28ee0047 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Fri, 13 Sep 2024 19:36:41 +0100 Subject: Also accept a quantity for order items --- thallium-backend/src/dto/orders.py | 1 + 1 file changed, 1 insertion(+) diff --git a/thallium-backend/src/dto/orders.py b/thallium-backend/src/dto/orders.py index a3a046e..f4864ab 100644 --- a/thallium-backend/src/dto/orders.py +++ b/thallium-backend/src/dto/orders.py @@ -26,6 +26,7 @@ class OrderItem(BaseModel): product_template_id: int variant_id: int + quantity: int class OrderCreate(BaseModel): -- cgit v1.2.3