diff --git a/backend/src/uxbox/services/mutations/project_files.clj b/backend/src/uxbox/services/mutations/project_files.clj index 6fd175d7b..e6b7b14ca 100644 --- a/backend/src/uxbox/services/mutations/project_files.clj +++ b/backend/src/uxbox/services/mutations/project_files.clj @@ -92,12 +92,7 @@ [conn {:keys [user file-id] :as params}] (let [id (uuid/next) name "Page 1" - data (blob/encode - {:version 1 - :shapes [] - :canvas [] - :options {} - :shapes-by-id {}}) + data (blob/encode cp/default-page-data) sql "insert into project_pages (id, user_id, file_id, name, version, ordering, data) values ($1, $2, $3, $4, 0, 1, $5) returning id"]