})
}
- const allowParameters = { torrentPath: result.path, downloadName: result.downloadName }
+ const allowParameters = {
+ req,
+ res,
+ torrentPath: result.path,
+ downloadName: result.downloadName
+ }
const allowedResult = await Hooks.wrapFun(
isTorrentDownloadAllowed,
})
}
- const allowParameters = { video, videoFile }
+ const allowParameters = {
+ req,
+ res,
+ video,
+ videoFile
+ }
const allowedResult = await Hooks.wrapFun(
isVideoDownloadAllowed,
})
}
- const allowParameters = { video, streamingPlaylist, videoFile }
+ const allowParameters = {
+ req,
+ res,
+ video,
+ streamingPlaylist,
+ videoFile
+ }
const allowedResult = await Hooks.wrapFun(
isVideoDownloadAllowed,