aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/server-commands
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-10-21 14:38:10 +0200
committerChocobozzz <chocobozzz@cpy.re>2022-10-24 14:48:24 +0200
commit0177101284509ad68c5e484bce0474f57069c006 (patch)
tree387cf1fbd8efc5bb07ac38e401f0b3f8d8d8ebbd /shared/server-commands
parentfc097052abfbd646950a26f02b31b9925a5f3961 (diff)
downloadPeerTube-0177101284509ad68c5e484bce0474f57069c006.tar.gz
PeerTube-0177101284509ad68c5e484bce0474f57069c006.tar.zst
PeerTube-0177101284509ad68c5e484bce0474f57069c006.zip
Fix tests
Diffstat (limited to 'shared/server-commands')
-rw-r--r--shared/server-commands/videos/videos-command.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/server-commands/videos/videos-command.ts b/shared/server-commands/videos/videos-command.ts
index 5ec3b6ba8..1d6cad351 100644
--- a/shared/server-commands/videos/videos-command.ts
+++ b/shared/server-commands/videos/videos-command.ts
@@ -344,7 +344,7 @@ export class VideosCommand extends AbstractCommand {
344 mode?: 'legacy' | 'resumable' // default legacy 344 mode?: 'legacy' | 'resumable' // default legacy
345 waitTorrentGeneration?: boolean // default true 345 waitTorrentGeneration?: boolean // default true
346 } = {}) { 346 } = {}) {
347 const { mode = 'legacy', waitTorrentGeneration } = options 347 const { mode = 'legacy', waitTorrentGeneration = true } = options
348 let defaultChannelId = 1 348 let defaultChannelId = 1
349 349
350 try { 350 try {