diff options
author | Chocobozzz <me@florianbigard.com> | 2019-05-29 16:57:43 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-05-29 17:00:40 +0200 |
commit | bc01017be99c8d8390f45f82e97ed506b9f1b6a6 (patch) | |
tree | e511a42a0dc3841319b4fb727f2bafc22d8f2af7 /server/controllers/api/accounts.ts | |
parent | c8487f3f63c90fbfddaa906b3cbd90fb209ab1bb (diff) | |
download | PeerTube-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/accounts.ts')
-rw-r--r-- | server/controllers/api/accounts.ts | 2 |
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) |