上限をつけたりした
Signed-off-by: mattyatea <mattyacocacora0@gmail.com>
This commit is contained in:
parent
c6cccd791d
commit
334894f7bf
2 changed files with 4 additions and 2 deletions
|
|
@ -53,7 +53,7 @@ export const paramDef = {
|
|||
properties: {
|
||||
userId: { type: 'string', format: 'misskey:id' },
|
||||
comment: { type: 'string', minLength: 1, maxLength: 2048 },
|
||||
noteIds: { type: 'array', items: { type: 'string', format: 'misskey:id' } },
|
||||
noteIds: { type: 'array', items: { type: 'string', format: 'misskey:id', maxLength: 16 } },
|
||||
},
|
||||
required: ['userId', 'comment'],
|
||||
} as const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue