feat: increase max images of gallery

Signed-off-by: 아르페 <ore@nrma.cc>
This commit is contained in:
아르페 2024-02-10 19:24:23 +09:00 committed by GitHub
parent 1a2394c909
commit a59a9dd32e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,7 +42,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 },