mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Add Express req, res to filter:api.search.videos.local.list.params
This commit is contained in:
@@ -118,7 +118,7 @@ async function searchVideosDB (query: VideosSearchQueryAfterSanitize, req: expre
|
||||
user: res.locals.oauth
|
||||
? res.locals.oauth.token.User
|
||||
: undefined
|
||||
}, 'filter:api.search.videos.local.list.params')
|
||||
}, 'filter:api.search.videos.local.list.params', { req, res })
|
||||
|
||||
const resultList = await Hooks.wrapPromiseFun(
|
||||
VideoModel.searchAndPopulateAccountAndServer.bind(VideoModel),
|
||||
|
||||
Reference in New Issue
Block a user