From fd2f2aa6f567ed24dededc7abe73135f5c854a02 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Sat, 21 Sep 2024 04:15:00 +0200 Subject: [PATCH] fix --- lib/pages/supply.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pages/supply.dart b/lib/pages/supply.dart index e02ea3f..2597833 100644 --- a/lib/pages/supply.dart +++ b/lib/pages/supply.dart @@ -33,7 +33,7 @@ class _SupplyPageState extends State { _formKey.currentState!.save(); API() - .supplyItem(widget.item.name, variant, "${_priceController.text} €", + .supplyItem(widget.item.id, variant, "${_priceController.text} €", _selectedOrigin, _selectedLocation, _noteController.text) .then((_) { ScaffoldMessenger.of(context).showSnackBar(