forked from enviPath/enviPy
[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:
@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user