aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/tracker.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/tracker.ts')
-rw-r--r--server/controllers/tracker.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/tracker.ts b/server/controllers/tracker.ts
index c962fada5..d09b19cae 100644
--- a/server/controllers/tracker.ts
+++ b/server/controllers/tracker.ts
@@ -51,7 +51,7 @@ const trackerServer = new TrackerServer({
51 const videoFileExists = await VideoFileModel.doesInfohashExistCached(infoHash) 51 const videoFileExists = await VideoFileModel.doesInfohashExistCached(infoHash)
52 if (videoFileExists === true) return cb() 52 if (videoFileExists === true) return cb()
53 53
54 const playlistExists = await VideoStreamingPlaylistModel.doesInfohashExist(infoHash) 54 const playlistExists = await VideoStreamingPlaylistModel.doesInfohashExistCached(infoHash)
55 if (playlistExists === true) return cb() 55 if (playlistExists === true) return cb()
56 56
57 cb(new Error(`Unknown infoHash ${infoHash} requested by ip ${ip}`)) 57 cb(new Error(`Unknown infoHash ${infoHash} requested by ip ${ip}`))