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

pull/6527/head
Grant 2024-06-24 19:34:05 -06:00 committed by Chocobozzz
parent 0b30e58f6f
commit 4bc29f6d3f
1 changed files with 1 additions and 1 deletions

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