From 219ddedae3057413fbf8a0a37530216115cc433a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=95=84=EB=A5=B4=ED=8E=98?= Date: Sat, 10 Feb 2024 19:24:23 +0900 Subject: [PATCH] feat: increase max images of gallery MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 아르페 --- .../backend/src/server/api/endpoints/gallery/posts/update.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/endpoints/gallery/posts/update.ts b/packages/backend/src/server/api/endpoints/gallery/posts/update.ts index dc5d297cf..7bd2b69ad 100644 --- a/packages/backend/src/server/api/endpoints/gallery/posts/update.ts +++ b/packages/backend/src/server/api/endpoints/gallery/posts/update.ts @@ -43,7 +43,7 @@ export const paramDef = { postId: { type: 'string', format: 'misskey:id' }, title: { type: 'string', minLength: 1 }, description: { type: 'string', nullable: true }, - fileIds: { type: 'array', uniqueItems: true, minItems: 1, maxItems: 32, items: { + fileIds: { type: 'array', uniqueItems: true, minItems: 1, maxItems: 128, items: { type: 'string', format: 'misskey:id', } }, isSensitive: { type: 'boolean', default: false },