diff options
author | Chocobozzz <me@florianbigard.com> | 2023-06-19 10:52:40 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-06-19 10:52:40 +0200 |
commit | 7aacaa76ec990f6b06f3f15a5666d103f68594f1 (patch) | |
tree | 89f441d1e1730e1ffeebeee4f59be8a20f202711 /server/middlewares/rate-limiter.ts | |
parent | 7c77ace9a7678e2e0e15644b0080f2dd31d2f7ec (diff) | |
download | PeerTube-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.ts | 1 |
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 | ||
46 | function sendRateLimited (res: express.Response, options: RateLimitHandlerOptions) { | 46 | function 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 | } |