aboutsummaryrefslogtreecommitdiff
path: root/gn3/api
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/api')
-rw-r--r--gn3/api/ctl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/api/ctl.py b/gn3/api/ctl.py
index 2157b24..ac33d63 100644
--- a/gn3/api/ctl.py
+++ b/gn3/api/ctl.py
@@ -20,5 +20,5 @@ def run_ctl():
(cmd_results, response) = call_ctl_script(ctl_data)
return (jsonify({
- "results": results
+ "results": response
}), 200) if response is not None else (jsonify({"error": str(cmd_results)}), 401)