mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 02:13:09 +02: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