ActivityPub-federated video streaming platform using P2P directly in your web browser
Add Express req, res to filter:api.search.videos.local.list.params
Grant4bc29f6d3f08
diff --git a/server/core/controllers/api/search/search-videos.ts b/server/core/controllers/api/search/search-videos.tsindex ad497748c4..5e929b3c9a 100644--- a/server/core/controllers/api/search/search-videos.ts+++ b/server/core/controllers/api/search/search-videos.ts@@ -118,7 +118,7 @@ async function searchVideosDB (query: VideosSearchQueryAfterSanitize, req: expreuser: 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),