diff options
author | 2024-09-13 19:36:41 +0100 | |
---|---|---|
committer | 2024-09-13 19:36:41 +0100 | |
commit | 0fff2c60341cedc3e5f8c7ffbeb1293c28ee0047 (patch) | |
tree | 2c6f1dcad7e20018b4c795e46b0253b86407eb9c /thallium-backend | |
parent | Make OrderCosts available via the dto module (diff) |
Also accept a quantity for order items
Diffstat (limited to 'thallium-backend')
-rw-r--r-- | thallium-backend/src/dto/orders.py | 1 |
1 files changed, 1 insertions, 0 deletions
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): |