mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-11-01 07:35:57 +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