fix(server): fix pages/update

This commit is contained in:
syuilo 2023-01-04 17:41:09 +09:00
parent 5906de5ca0
commit 1ed078d7f9
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
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,