mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-24 00:39:32 +09:00
enhance(backend): configure ratelimit for notification creation apis
This commit is contained in:
parent
f9fc743c05
commit
42c7aad251
@ -14,6 +14,11 @@ export const meta = {
|
||||
|
||||
kind: 'write:notifications',
|
||||
|
||||
limit: {
|
||||
duration: 1000 * 60,
|
||||
max: 10,
|
||||
},
|
||||
|
||||
errors: {
|
||||
},
|
||||
} as const;
|
||||
|
@ -13,6 +13,11 @@ export const meta = {
|
||||
requireCredential: true,
|
||||
|
||||
kind: 'write:notifications',
|
||||
|
||||
limit: {
|
||||
duration: 1000 * 60,
|
||||
max: 10,
|
||||
},
|
||||
} as const;
|
||||
|
||||
export const paramDef = {
|
||||
|
Loading…
Reference in New Issue
Block a user