From 12237eea7a8caaea8ddd36f900ca4b06587697ec Mon Sep 17 00:00:00 2001 From: Sara Vieira Date: Tue, 19 Jul 2022 13:31:00 +0200 Subject: [PATCH] fix console.log --- apps/designer/app/routes/designer/$id.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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) {