fix flow end

This commit is contained in:
JMARyA 2024-09-25 22:49:29 +02:00
parent 543bdfcffb
commit 8723cd53ee
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -251,7 +251,7 @@ class API {
// /flow/<id>/end
Future<List<String>?> endFlow(String id, {List<SupplyForm>? 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) {