diff options
author | Chocobozzz <me@florianbigard.com> | 2020-04-16 16:36:43 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-04-16 16:37:25 +0200 |
commit | 2c0ccd4b3f5ec5633879e6b42cd5175e4de207cc (patch) | |
tree | ba4ee87af789e23086ce717e660b961320620d3b /server/middlewares/validators | |
parent | bd65cf02ff7fba8eced98a4fef0c45d9737ced80 (diff) | |
download | PeerTube-2c0ccd4b3f5ec5633879e6b42cd5175e4de207cc.tar.gz PeerTube-2c0ccd4b3f5ec5633879e6b42cd5175e4de207cc.tar.zst PeerTube-2c0ccd4b3f5ec5633879e6b42cd5175e4de207cc.zip |
Do not support subscriptions to accounts
Diffstat (limited to 'server/middlewares/validators')
-rw-r--r-- | server/middlewares/validators/user-subscriptions.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/server/middlewares/validators/user-subscriptions.ts b/server/middlewares/validators/user-subscriptions.ts index 9bc8c87e7..5d4cc94c5 100644 --- a/server/middlewares/validators/user-subscriptions.ts +++ b/server/middlewares/validators/user-subscriptions.ts | |||
@@ -53,7 +53,6 @@ const userSubscriptionGetValidator = [ | |||
53 | .json({ | 53 | .json({ |
54 | error: `Subscription ${req.params.uri} not found.` | 54 | error: `Subscription ${req.params.uri} not found.` |
55 | }) | 55 | }) |
56 | .end() | ||
57 | } | 56 | } |
58 | 57 | ||
59 | res.locals.subscription = subscription | 58 | res.locals.subscription = subscription |