From ab07e10da5a3f2bc0756ee295aca439b596c93ca Mon Sep 17 00:00:00 2001 From: Roman Pominov Date: Mon, 17 Oct 2022 09:01:35 +0400 Subject: [PATCH] fix --- apps/designer/app/routes/rest/pages.$projectId.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/designer/app/routes/rest/pages.$projectId.ts b/apps/designer/app/routes/rest/pages.$projectId.ts index 6d60c423d0..ab828a39f2 100644 --- a/apps/designer/app/routes/rest/pages.$projectId.ts +++ b/apps/designer/app/routes/rest/pages.$projectId.ts @@ -72,7 +72,8 @@ export const action: ActionFunction = async ({ request, params }) => { } if (request.method.toLowerCase() === "put") { - await handlePUT(params.projectId, request); + const result = await handlePUT(params.projectId, request); + return result; } throw new Error(`Method ${request.method} is not supported`);