diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-10 14:48:08 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:51 +0100 |
commit | 38fa2065831b5f55be0d7f30f19a62c967397208 (patch) | |
tree | 4a986465e3a88c85bc6a8b5fc992e0f2edd63ef0 /server/controllers/api/videos/index.ts | |
parent | 0d0e8dd0904b380b70e19ebcb4763d65601c4632 (diff) | |
download | PeerTube-38fa2065831b5f55be0d7f30f19a62c967397208.tar.gz PeerTube-38fa2065831b5f55be0d7f30f19a62c967397208.tar.zst PeerTube-38fa2065831b5f55be0d7f30f19a62c967397208.zip |
Remove references to author
Diffstat (limited to 'server/controllers/api/videos/index.ts')
-rw-r--r-- | server/controllers/api/videos/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/videos/index.ts b/server/controllers/api/videos/index.ts index 964db151d..9ad84609f 100644 --- a/server/controllers/api/videos/index.ts +++ b/server/controllers/api/videos/index.ts | |||
@@ -395,7 +395,7 @@ async function removeVideo (req: express.Request, res: express.Response) { | |||
395 | } | 395 | } |
396 | 396 | ||
397 | async function searchVideos (req: express.Request, res: express.Response, next: express.NextFunction) { | 397 | async function searchVideos (req: express.Request, res: express.Response, next: express.NextFunction) { |
398 | const resultList = await db.Video.searchAndPopulateAuthorAndPodAndTags( | 398 | const resultList = await db.Video.searchAndPopulateAccountAndPodAndTags( |
399 | req.params.value, | 399 | req.params.value, |
400 | req.query.field, | 400 | req.query.field, |
401 | req.query.start, | 401 | req.query.start, |