diff options
author | Chocobozzz <me@florianbigard.com> | 2022-10-21 14:38:10 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-10-24 14:48:24 +0200 |
commit | 0177101284509ad68c5e484bce0474f57069c006 (patch) | |
tree | 387cf1fbd8efc5bb07ac38e401f0b3f8d8d8ebbd /shared/server-commands/videos/videos-command.ts | |
parent | fc097052abfbd646950a26f02b31b9925a5f3961 (diff) | |
download | PeerTube-0177101284509ad68c5e484bce0474f57069c006.tar.gz PeerTube-0177101284509ad68c5e484bce0474f57069c006.tar.zst PeerTube-0177101284509ad68c5e484bce0474f57069c006.zip |
Fix tests
Diffstat (limited to 'shared/server-commands/videos/videos-command.ts')
-rw-r--r-- | shared/server-commands/videos/videos-command.ts | 2 |
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 { |