From 66dc59076413b9a4aa0899d3192b0bdf03ee654d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 17 Apr 2018 15:11:12 +0200 Subject: Add ability to click on the account in watch page --- server/controllers/api/videos/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/controllers/api') 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) { } 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, -- cgit v1.2.3