]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/job-queue/handlers/video-live-ending.ts
Revert some mistakes
[github/Chocobozzz/PeerTube.git] / server / lib / job-queue / handlers / video-live-ending.ts
index 3d93417388bc6cda6382768a1fa15f77fdb85b22..55c7a4ccbc84dc74bdf331e1e702bba8ef213ac6 100644 (file)
@@ -123,7 +123,7 @@ async function saveLive (video: MVideo, live: MVideoLive) {
 }
 
 async function cleanupLive (video: MVideo, streamingPlaylist: MStreamingPlaylist) {
-  const hlsDirectory = getHLSDirectory(video, false)
+  const hlsDirectory = getHLSDirectory(video)
 
   await remove(hlsDirectory)