mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 04:55:06 +09:00
fix console.log
This commit is contained in:
1 parent
81d53fea24
commit
12237eea7a
1 file changed
+2
-3
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user