From 8723cd53eeaf585325464f36da9e0d691e4bf01d Mon Sep 17 00:00:00 2001 From: JMARyA Date: Wed, 25 Sep 2024 22:49:29 +0200 Subject: [PATCH] fix flow end --- lib/api.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api.dart b/lib/api.dart index e77f68a..a91b188 100644 --- a/lib/api.dart +++ b/lib/api.dart @@ -251,7 +251,7 @@ class API { // /flow//end Future?> endFlow(String id, {List? produced}) async { - var resp = jsonDecode(await postRequest("$instance/$id/end", + var resp = jsonDecode(await postRequest("$instance/flow/$id/end", {"produced": produced?.map((x) => x.json()).toList()})); if (produced != null) {