Fix error saving drive file caption > 512 chars

This commit is contained in:
Kaitlyn Allan 2023-03-19 20:06:24 +10:00
parent 749117a2ce
commit 1b134467ed

View File

@ -54,7 +54,7 @@ export const paramDef = {
folderId: { type: "string", format: "misskey:id", nullable: true },
name: { type: "string" },
isSensitive: { type: "boolean" },
comment: { type: "string", nullable: true, maxLength: 512 },
comment: { type: "string", nullable: true, maxLength: DB_MAX_IMAGE_COMMENT_LENGTH },
},
required: ["fileId"],
} as const;