|
|
@@ -59,7 +59,7 @@ app.add_middleware(
|
|
|
BG_DATA_PATH = os.path.join(os.path.dirname(__file__), 'data.json')
|
|
|
PRODUCTS_PATH = os.path.join(os.path.dirname(__file__), 'products.json')
|
|
|
|
|
|
-def add_product_to_fudo(product_id: int, quantity: int, table_number:int, comment: str | None = None):
|
|
|
+def add_product_to_fudo(product_id: int, quantity: int, table_number:int, comment = None):
|
|
|
table = fd.get_table(table_number)
|
|
|
if not table:
|
|
|
print(f"Error: Table {table_number} not found.")
|