upd: increase cw limit

Closes transfem-org/Sharkey#193
This commit is contained in:
Mar0xy 2023-12-03 17:56:54 +01:00
parent f639cc764c
commit ec5facd09a
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
3 changed files with 3 additions and 3 deletions

View file

@ -139,7 +139,7 @@ export const paramDef = {
format: 'misskey:id',
},
},
cw: { type: 'string', nullable: true, minLength: 1, maxLength: 250 },
cw: { type: 'string', nullable: true, minLength: 1, maxLength: 500 },
localOnly: { type: 'boolean', default: false },
reactionAcceptance: { type: 'string', nullable: true, enum: [null, 'likeOnly', 'likeOnlyForRemote', 'nonSensitiveOnly', 'nonSensitiveOnlyForLocalLikeOnlyForRemote'], default: null },
noExtractMentions: { type: 'boolean', default: false },