From 7afb5abf3500175bc1b54d62db4d24e279ee7331 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 875f115516..10cdec5994 100644 --- a/common/src/app/common/files/changes.cljc +++ b/common/src/app/common/files/changes.cljc @@ -195,7 +195,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]