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 },
|
folderId: { type: "string", format: "misskey:id", nullable: true },
|
||||||
name: { type: "string" },
|
name: { type: "string" },
|
||||||
isSensitive: { type: "boolean" },
|
isSensitive: { type: "boolean" },
|
||||||
comment: { type: "string", nullable: true, maxLength: 512 },
|
comment: { type: "string", nullable: true, maxLength: DB_MAX_IMAGE_COMMENT_LENGTH },
|
||||||
},
|
},
|
||||||
required: ["fileId"],
|
required: ["fileId"],
|
||||||
} as const;
|
} as const;
|
||||||
|
|
Loading…
Reference in New Issue