From 4096c511a3fea770c331464d70b3beca7ba796f3 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Fri, 13 Sep 2024 19:39:16 +0100 Subject: Add a gift emssage to the order --- thallium-backend/src/dto/orders.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/thallium-backend/src/dto/orders.py b/thallium-backend/src/dto/orders.py index 848e7fc..217c21b 100644 --- a/thallium-backend/src/dto/orders.py +++ b/thallium-backend/src/dto/orders.py @@ -43,6 +43,10 @@ class OrderCreate(BaseModel): "external_id": voucher.id, "recipient": self.recipient.model_dump(), "items": [item.model_dump() for item in self.items], + "gift": { + "subject": f"To {self.recipient.name}", + "message": "Love from your local DevOps team.", + }, } -- cgit v1.2.3