From bf64ed4196938ba9002c887cadb01bd2a6e3127a Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Sat, 28 Dec 2019 01:10:26 +0100 Subject: Add search bars for a user's videos and playlist library --- server/controllers/api/users/me.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/controllers/api/users') diff --git a/server/controllers/api/users/me.ts b/server/controllers/api/users/me.ts index ba976ab03..b1f29f252 100644 --- a/server/controllers/api/users/me.ts +++ b/server/controllers/api/users/me.ts @@ -99,7 +99,8 @@ async function getUserVideos (req: express.Request, res: express.Response) { user.Account.id, req.query.start as number, req.query.count as number, - req.query.sort as VideoSortField + req.query.sort as VideoSortField, + req.query.search as string ) const additionalAttributes = { -- cgit v1.2.3