aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-05-29 16:57:43 +0200
committerChocobozzz <me@florianbigard.com>2019-05-29 17:00:40 +0200
commitbc01017be99c8d8390f45f82e97ed506b9f1b6a6 (patch)
treee511a42a0dc3841319b4fb727f2bafc22d8f2af7 /server/controllers/api
parentc8487f3f63c90fbfddaa906b3cbd90fb209ab1bb (diff)
downloadPeerTube-bc01017be99c8d8390f45f82e97ed506b9f1b6a6.tar.gz
PeerTube-bc01017be99c8d8390f45f82e97ed506b9f1b6a6.tar.zst
PeerTube-bc01017be99c8d8390f45f82e97ed506b9f1b6a6.zip
Add ability to subscribe from the channel account page
Diffstat (limited to 'server/controllers/api')
-rw-r--r--server/controllers/api/accounts.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/accounts.ts b/server/controllers/api/accounts.ts
index 9b3489120..5a1d652f2 100644
--- a/server/controllers/api/accounts.ts
+++ b/server/controllers/api/accounts.ts
@@ -117,7 +117,7 @@ async function listAccountChannels (req: express.Request, res: express.Response)
117 accountId: res.locals.account.id, 117 accountId: res.locals.account.id,
118 start: req.query.start, 118 start: req.query.start,
119 count: req.query.count, 119 count: req.query.count,
120 sort: req.query.sort, 120 sort: req.query.sort
121 } 121 }
122 122
123 const resultList = await VideoChannelModel.listByAccount(options) 123 const resultList = await VideoChannelModel.listByAccount(options)