From d374dc333f9697617a4fed1dd5addd254ecbbe11 Mon Sep 17 00:00:00 2001 From: kilian Date: Wed, 8 Oct 2025 17:31:42 +0200 Subject: [PATCH] changed unit_price to float --- backend/src/payments/payment_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/payments/payment_handler.py b/backend/src/payments/payment_handler.py index 0981de4..c4128b3 100644 --- a/backend/src/payments/payment_handler.py +++ b/backend/src/payments/payment_handler.py @@ -36,12 +36,12 @@ class Item(BaseModel): id (str): The unique identifier for the item. name (str): The name of the item. description (str): The description of the item. - unit_price (str): The unit price of the item. + unit_price (float): The unit price of the item. """ id: str name: str description: str - unit_price: str + unit_price: float def item_from_sql(item_id: str):