diff --git a/intake/app.py b/intake/app.py index 1fe5069..14221d7 100644 --- a/intake/app.py +++ b/intake/app.py @@ -253,7 +253,7 @@ def action(source_name, item_id, action): data_path: Path = current_app.config["INTAKE_DATA"] source = LocalSource(data_path, source_name) item = execute_action(source, item_id, action) - return jsonify(item) + return jsonify(item._item) @app.route("/edit/source/", methods=["GET", "POST"]) diff --git a/intake/source.py b/intake/source.py old mode 100755 new mode 100644 diff --git a/pyproject.toml b/pyproject.toml index 2ea2706..67d2715 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "intake" -version = "1.0.5" +version = "1.0.6" [project.scripts] intake = "intake.cli:main"