From b61d7c87435a852238f0c0f1b1e037d7a5f3d431 Mon Sep 17 00:00:00 2001 From: zyoshoka Date: Sat, 13 Jan 2024 12:07:50 +0900 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=E3=82=B9=E3=82=AD=E3=83=BC=E3=83=9E?= =?UTF-8?q?=E6=9B=B8=E3=81=8D=E6=8F=9B=E3=81=88=E3=81=AE=E9=9A=9B=E3=81=AE?= =?UTF-8?q?=E3=83=9F=E3=82=B9=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/backend/src/server/api/endpoints/notes/create.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/endpoints/notes/create.ts b/packages/backend/src/server/api/endpoints/notes/create.ts index e63dc6f20b..29a0f7418c 100644 --- a/packages/backend/src/server/api/endpoints/notes/create.ts +++ b/packages/backend/src/server/api/endpoints/notes/create.ts @@ -191,7 +191,7 @@ export const paramDef = { then: { properties: { text: { - type: ['string', 'null'], + type: 'string', minLength: 1, maxLength: MAX_NOTE_TEXT_LENGTH, pattern: '[^\\s]+',