From 1ed078d7f9ac04956ed99cad832c0b78f49cdd33 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 4 Jan 2023 17:41:09 +0900 Subject: [PATCH] fix(server): fix pages/update --- packages/backend/src/server/api/endpoints/pages/update.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/endpoints/pages/update.ts b/packages/backend/src/server/api/endpoints/pages/update.ts index 4db0f80b26..35b402ec56 100644 --- a/packages/backend/src/server/api/endpoints/pages/update.ts +++ b/packages/backend/src/server/api/endpoints/pages/update.ts @@ -111,7 +111,7 @@ export default class extends Endpoint { updatedAt: new Date(), title: ps.title, name: ps.name === undefined ? page.name : ps.name, - summary: ps.name === undefined ? page.summary : ps.summary, + summary: ps.summary === undefined ? page.summary : ps.summary, content: ps.content, variables: ps.variables, script: ps.script,