From d9623c3c88128e8c0985f91199a82aa210bda880 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 14 Aug 2025 07:43:45 +0200 Subject: [PATCH] :bug: Add proper schema for decoding :obj on add-obj change --- common/src/app/common/files/changes.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/app/common/files/changes.cljc b/common/src/app/common/files/changes.cljc index c32f57a3b9..d38a78e307 100644 --- a/common/src/app/common/files/changes.cljc +++ b/common/src/app/common/files/changes.cljc @@ -196,7 +196,7 @@ [:map {:title "AddObjChange"} [:type [:= :add-obj]] [:id ::sm/uuid] - [:obj :map] + [:obj cts/schema:shape] [:page-id {:optional true} ::sm/uuid] [:component-id {:optional true} ::sm/uuid] [:frame-id ::sm/uuid]