Merge pull request 'bug: Fix error saving drive file caption > 512 chars' (#9729) from supakaity/hajkey:hk/fix-9728 into develop

Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9729
This commit is contained in:
Kainoa Kanter 2023-03-19 21:54:38 +00:00
commit 60a5c4012c

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;