[addon] fix debrid link logging

This commit is contained in:
TheBeastLT
2021-03-10 10:08:31 +01:00
parent 678e05b7af
commit e5223c0c98
2 changed files with 3 additions and 3 deletions

View File

@@ -80,7 +80,7 @@ router.get('/:moch/:apiKey/:infoHash/:cachedEntryInfo/:fileIndex?', (req, res) =
const parameters = {
mochKey: req.params.moch,
apiKey: req.params.apiKey,
infoHash: req.params.infoHash,
infoHash: req.params.infoHash.toLowerCase(),
fileIndex: isNaN(req.params.fileIndex) ? undefined : parseInt(req.params.fileIndex),
cachedEntryInfo: req.params.cachedEntryInfo,
ip: requestIp.getClientIp(req)