aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-04-17 15:11:12 +0200
committerChocobozzz <me@florianbigard.com>2018-04-17 15:11:12 +0200
commit66dc59076413b9a4aa0899d3192b0bdf03ee654d (patch)
tree7743a66a4d7a9fb1dba1d4d744c059dcd35c9224 /server/controllers/api
parent4195cd2bc5046d4cdf1c677c27cd41f427d7a13a (diff)
downloadPeerTube-66dc59076413b9a4aa0899d3192b0bdf03ee654d.tar.gz
PeerTube-66dc59076413b9a4aa0899d3192b0bdf03ee654d.tar.zst
PeerTube-66dc59076413b9a4aa0899d3192b0bdf03ee654d.zip
Add ability to click on the account in watch page
Diffstat (limited to 'server/controllers/api')
-rw-r--r--server/controllers/api/videos/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/videos/index.ts b/server/controllers/api/videos/index.ts
index 244099015..b4cd67158 100644
--- a/server/controllers/api/videos/index.ts
+++ b/server/controllers/api/videos/index.ts
@@ -418,7 +418,7 @@ async function removeVideo (req: express.Request, res: express.Response) {
418} 418}
419 419
420async function searchVideos (req: express.Request, res: express.Response, next: express.NextFunction) { 420async function searchVideos (req: express.Request, res: express.Response, next: express.NextFunction) {
421 const resultList = await VideoModel.searchAndPopulateAccountAndServerAndTags( 421 const resultList = await VideoModel.searchAndPopulateAccountAndServer(
422 req.query.search, 422 req.query.search,
423 req.query.start, 423 req.query.start,
424 req.query.count, 424 req.query.count,