mirror of
https://github.com/outline/outline.git
synced 2026-11-22 22:02:35 +03:00
fix: Rate limit documents.update (#14189)
This commit is contained in:
1 parent
22fb2444a1
commit
cfc236a51f
1 file changed
+1
@@ -1463,6 +1463,7 @@ router.post(
|
||||
router.post(
|
||||
"documents.update",
|
||||
auth(),
|
||||
rateLimiter(RateLimiterStrategy.OneHundredPerMinute),
|
||||
validate(T.DocumentsUpdateSchema),
|
||||
transaction(),
|
||||
async (ctx: APIContext<T.DocumentsUpdateReq>) => {
|
||||
|
||||
Reference in new issue
Block a user