Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

using ObjectId inside json datatype of css rules doesn't work well

Oleg Isonen204221ab78a5
diff --git a/mongo-migrations/breakpoints.js b/mongo-migrations/breakpoints.js
index fa8a59af4e..1831706139 100644
--- a/mongo-migrations/breakpoints.js
+++ b/mongo-migrations/breakpoints.js
@@ -8,7 +8,7 @@ let migrateTree = () => {
print(`migrating ${instance.id}`);
instance.cssRules = [
{
- breakpoint: ObjectId("626fc63909a681e2a912b5a4"),
+ breakpoint: "626fc63909a681e2a912b5a4",
style: instance.style,
},
];