fix flow end
This commit is contained in:
parent
543bdfcffb
commit
8723cd53ee
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue