]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/api/videos/index.ts
Add ability to click on the account in watch page
[github/Chocobozzz/PeerTube.git] / server / controllers / api / videos / index.ts
index 244099015e3a9c1b58e5559368ea02991d90ad7e..b4cd67158100a18f0cb946014ff6988397807d87 100644 (file)
@@ -418,7 +418,7 @@ async function removeVideo (req: express.Request, res: express.Response) {
 }
 
 async function searchVideos (req: express.Request, res: express.Response, next: express.NextFunction) {
-  const resultList = await VideoModel.searchAndPopulateAccountAndServerAndTags(
+  const resultList = await VideoModel.searchAndPopulateAccountAndServer(
     req.query.search,
     req.query.start,
     req.query.count,