Fix error saving drive file caption > 512 chars
This commit is contained in:
parent
749117a2ce
commit
1b134467ed
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user