aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-04-16 16:36:43 +0200
committerChocobozzz <me@florianbigard.com>2020-04-16 16:37:25 +0200
commit2c0ccd4b3f5ec5633879e6b42cd5175e4de207cc (patch)
treeba4ee87af789e23086ce717e660b961320620d3b /server/controllers
parentbd65cf02ff7fba8eced98a4fef0c45d9737ced80 (diff)
downloadPeerTube-2c0ccd4b3f5ec5633879e6b42cd5175e4de207cc.tar.gz
PeerTube-2c0ccd4b3f5ec5633879e6b42cd5175e4de207cc.tar.zst
PeerTube-2c0ccd4b3f5ec5633879e6b42cd5175e4de207cc.zip
Do not support subscriptions to accounts
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/api/users/my-subscriptions.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/controllers/api/users/my-subscriptions.ts b/server/controllers/api/users/my-subscriptions.ts
index 888392b8b..efe1b9bc3 100644
--- a/server/controllers/api/users/my-subscriptions.ts
+++ b/server/controllers/api/users/my-subscriptions.ts
@@ -112,6 +112,7 @@ function addUserSubscription (req: express.Request, res: express.Response) {
112 const payload = { 112 const payload = {
113 name, 113 name,
114 host, 114 host,
115 assertIsChannel: true,
115 followerActorId: user.Account.Actor.id 116 followerActorId: user.Account.Actor.id
116 } 117 }
117 118