fix: some fixes of multiple notification read (#8819)

* fix: limit multiple notification read

* fix

* fix
This commit is contained in:
tamaina
2022-06-12 19:28:13 +09:00
committed by GitHub
parent 3a987b0006
commit 11a6bd890c
3 changed files with 18 additions and 2 deletions

View File

@ -34,7 +34,11 @@ export const paramDef = {
{
type: 'object',
properties: {
notificationIds: { type: 'array', items: { type: 'string', format: 'misskey:id' } },
notificationIds: {
type: 'array',
items: { type: 'string', format: 'misskey:id' },
maxItems: 100,
},
},
required: ['notificationIds'],
},