]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/server-commands/videos/live-command.ts
Add runner server tests
[github/Chocobozzz/PeerTube.git] / shared / server-commands / videos / live-command.ts
index 3273e3a8fe8455460e582eebc03a0170362500f5..dc3c5a86ef8f45862665448648bcf47644633f00 100644 (file)
@@ -121,7 +121,7 @@ export class LiveCommand extends AbstractCommand {
     permanentLive: boolean
     privacy?: VideoPrivacy
   }) {
-    const { saveReplay, permanentLive, privacy } = options
+    const { saveReplay, permanentLive, privacy = VideoPrivacy.PUBLIC } = options
 
     const { uuid } = await this.create({
       ...options,