[Fix] False as multi_step default in legacy API (#406)

Co-authored-by: Tim Lorsbach <tim@lorsba.ch>
Reviewed-on: enviPath/enviPy#406
This commit is contained in:
2026-05-29 08:12:52 +12:00
parent be5ee1d1d7
commit 868bbf5c05

View File

@ -2059,7 +2059,7 @@ def add_pathway_edge(request, package_uuid, pathway_uuid, e: Form[CreateEdge]):
for pr in e.products.split(","): for pr in e.products.split(","):
products.append(Node.objects.get(pathway=pw, url=pr.strip())) products.append(Node.objects.get(pathway=pw, url=pr.strip()))
multi_step = None multi_step = False
if e.multistep and e.multistep.strip() == "true": if e.multistep and e.multistep.strip() == "true":
multi_step = True multi_step = True