diff options
author | 2024-09-13 19:39:16 +0100 | |
---|---|---|
committer | 2024-09-13 19:39:16 +0100 | |
commit | 4096c511a3fea770c331464d70b3beca7ba796f3 (patch) | |
tree | e82b6aeec6fa763ace526c644cc87a4c0e84f92c | |
parent | Estimate order costs before submitting the order (diff) |
Add a gift emssage to the order
-rw-r--r-- | thallium-backend/src/dto/orders.py | 4 |
1 files changed, 4 insertions, 0 deletions
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.", + }, } |