Add Express req, res to filter:api.search.videos.local.list.params

This commit is contained in:
Grant 2024-06-24 19:34:05 -06:00 committed by Chocobozzz
parent 0b30e58f6f
commit 4bc29f6d3f

View File

@ -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),