]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/video-blacklist.ts
Implement remote runner jobs in server
[github/Chocobozzz/PeerTube.git] / server / lib / video-blacklist.ts
index fd5837a3a19bd394611586dc07142722beb7fe4c..cb1ea834c46dc32a0b5f52a875999db98fe961f3 100644 (file)
@@ -81,7 +81,7 @@ async function blacklistVideo (videoInstance: MVideoAccountLight, options: Video
   }
 
   if (videoInstance.isLive) {
-    LiveManager.Instance.stopSessionOf(videoInstance.id, LiveVideoError.BLACKLISTED)
+    LiveManager.Instance.stopSessionOf(videoInstance.uuid, LiveVideoError.BLACKLISTED)
   }
 
   Notifier.Instance.notifyOnVideoBlacklist(blacklist)