aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/rate-limiter.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-06-19 10:52:40 +0200
committerChocobozzz <me@florianbigard.com>2023-06-19 10:52:40 +0200
commit7aacaa76ec990f6b06f3f15a5666d103f68594f1 (patch)
tree89f441d1e1730e1ffeebeee4f59be8a20f202711 /server/middlewares/rate-limiter.ts
parent7c77ace9a7678e2e0e15644b0080f2dd31d2f7ec (diff)
downloadPeerTube-7aacaa76ec990f6b06f3f15a5666d103f68594f1.tar.gz
PeerTube-7aacaa76ec990f6b06f3f15a5666d103f68594f1.tar.zst
PeerTube-7aacaa76ec990f6b06f3f15a5666d103f68594f1.zip
Fix registration notification error in client
Diffstat (limited to 'server/middlewares/rate-limiter.ts')
-rw-r--r--server/middlewares/rate-limiter.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/middlewares/rate-limiter.ts b/server/middlewares/rate-limiter.ts
index 1eef8b360..0e936028c 100644
--- a/server/middlewares/rate-limiter.ts
+++ b/server/middlewares/rate-limiter.ts
@@ -45,5 +45,4 @@ export function buildRateLimiter (options: {
45 45
46function sendRateLimited (res: express.Response, options: RateLimitHandlerOptions) { 46function sendRateLimited (res: express.Response, options: RateLimitHandlerOptions) {
47 return res.status(options.statusCode).send(options.message) 47 return res.status(options.statusCode).send(options.message)
48
49} 48}