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.

fix console.log

Sara Vieira12237eea7a8c
diff --git a/apps/designer/app/routes/designer/$id.tsx b/apps/designer/app/routes/designer/$id.tsx
index 73862cb12a..dcf5efafd9 100644
--- a/apps/designer/app/routes/designer/$id.tsx
+++ b/apps/designer/app/routes/designer/$id.tsx
@@ -33,15 +33,14 @@ export const action: ActionFunction = async ({ request, params }) => {
if (params.id === undefined) throw new Error("Project id undefined");
if (request.method === "POST") {
try {
- const a = await uploadAssets({
+ const assets = await uploadAssets({
request,
projectId: params.id,
db,
dirname: __dirname,
});
- console.log(a);
return {
- ok: true,
+ assets,
};
} catch (error) {
if (error instanceof Error) {