From d0eeb8cb5070b795243c272d74f3864cfe1c367e Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 30 Mar 2026 10:53:48 +0000 Subject: [PATCH] :recycle: Update backend for :path-data attribute Update binfile cleaner and SREPL path_data proc to use :path-data instead of :content for path and bool shapes. Signed-off-by: Andrey Antukh --- backend/src/app/binfile/cleaner.clj | 2 +- backend/src/app/srepl/procs/path_data.clj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/app/binfile/cleaner.clj b/backend/src/app/binfile/cleaner.clj index 9f07f73b71..8904bb5958 100644 --- a/backend/src/app/binfile/cleaner.clj +++ b/backend/src/app/binfile/cleaner.clj @@ -20,7 +20,7 @@ [shape] (if-let [content (get shape :bool-content)] (-> shape - (assoc :content content) + (assoc :path-data content) (dissoc :bool-content)) shape)) diff --git a/backend/src/app/srepl/procs/path_data.clj b/backend/src/app/srepl/procs/path_data.clj index 6b72d39719..36f47d50f0 100644 --- a/backend/src/app/srepl/procs/path_data.clj +++ b/backend/src/app/srepl/procs/path_data.clj @@ -30,7 +30,7 @@ (fn [object] (if (or (cfh/path-shape? object) (cfh/bool-shape? object)) - (update object :content vec) + (update object :path-data vec) object)) update-container