mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-27 08:10:24 +01:00
fix: add limit to i/notifications (#8836)
* fix: add limit to i/notifications * ms * remove ms
This commit is contained in:
parent
10d979bd65
commit
f1e6fa8ee2
1 changed files with 5 additions and 0 deletions
|
@ -12,6 +12,11 @@ export const meta = {
|
||||||
|
|
||||||
requireCredential: true,
|
requireCredential: true,
|
||||||
|
|
||||||
|
limit: {
|
||||||
|
duration: 60000,
|
||||||
|
max: 10,
|
||||||
|
},
|
||||||
|
|
||||||
kind: 'read:notifications',
|
kind: 'read:notifications',
|
||||||
|
|
||||||
res: {
|
res: {
|
||||||
|
|
Loading…
Reference in a new issue