Skip to content

Commit

Permalink
server: fix temporary change
Browse files Browse the repository at this point in the history
  • Loading branch information
aszs committed Jul 18, 2023
1 parent 3ed5e5e commit 6cf3c8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion unfurl/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,8 @@ def export():
"Query parameter 'format' must be one of 'blueprint', 'environments' or 'deployment'",
)
deployment_path = request.args.get("deployment_path") or ""
return _export(request, requested_format, deployment_path, True)
include_all = requested_format == "blueprint"
return _export(request, requested_format, deployment_path, include_all)


def _export(request: Request, requested_format: str, deployment_path: str, include_all: bool) -> Tuple[str, int]:
Expand Down

0 comments on commit 6cf3c8d

Please sign in to comment.