From 2ac2e9e8492cc77488d79340be36eb17073c5429 Mon Sep 17 00:00:00 2001 From: claustra01 <108509532+claustra01@users.noreply.github.com> Date: Wed, 12 Nov 2025 18:16:05 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=81=E3=83=A3=E3=83=B3=E3=83=8D=E3=83=AB?= =?UTF-8?q?=E3=81=AE=E8=AA=AC=E6=98=8E=E6=AC=84=E3=81=AE=E6=9C=80=E5=B0=8F?= =?UTF-8?q?=E6=96=87=E5=AD=97=E6=95=B0=E5=88=B6=E7=B4=84=E3=82=92=E9=99=A4?= =?UTF-8?q?=E5=8E=BB=E3=81=99=E3=82=8B=20(#16782)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: channelのdescriptionを空欄にできるようにする * update: CHANGELOG.md * update: CHANGELOG.md * fix: CHANGELOG.md * fix: CHANGELOG.md --- CHANGELOG.md | 1 + packages/backend/src/server/api/endpoints/channels/create.ts | 2 +- packages/backend/src/server/api/endpoints/channels/update.ts | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 10c9edfcc9..054389ef43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ ### Server - Enhance: Remote Notes Cleaningが複雑度が高いノートの処理を中断せずに次のノートから再開するように +- Fix: チャンネルの説明欄の最小文字数制約を除去 ## 2025.10.2 diff --git a/packages/backend/src/server/api/endpoints/channels/create.ts b/packages/backend/src/server/api/endpoints/channels/create.ts index e3a6d2d670..8d49b6fd0f 100644 --- a/packages/backend/src/server/api/endpoints/channels/create.ts +++ b/packages/backend/src/server/api/endpoints/channels/create.ts @@ -46,7 +46,7 @@ export const paramDef = { type: 'object', properties: { name: { type: 'string', minLength: 1, maxLength: 128 }, - description: { type: 'string', nullable: true, minLength: 1, maxLength: 2048 }, + description: { type: 'string', nullable: true, maxLength: 2048 }, bannerId: { type: 'string', format: 'misskey:id', nullable: true }, color: { type: 'string', minLength: 1, maxLength: 16 }, isSensitive: { type: 'boolean', nullable: true }, diff --git a/packages/backend/src/server/api/endpoints/channels/update.ts b/packages/backend/src/server/api/endpoints/channels/update.ts index dba2938b39..5ec55896e4 100644 --- a/packages/backend/src/server/api/endpoints/channels/update.ts +++ b/packages/backend/src/server/api/endpoints/channels/update.ts @@ -50,7 +50,7 @@ export const paramDef = { properties: { channelId: { type: 'string', format: 'misskey:id' }, name: { type: 'string', minLength: 1, maxLength: 128 }, - description: { type: 'string', nullable: true, minLength: 1, maxLength: 2048 }, + description: { type: 'string', nullable: true, maxLength: 2048 }, bannerId: { type: 'string', format: 'misskey:id', nullable: true }, isArchived: { type: 'boolean', nullable: true }, pinnedNoteIds: {