From 644391bee644c9078695ab042743d108870de7ef Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 10 May 2023 13:57:06 +0200 Subject: Fix test cleanup --- shared/server-commands/videos/streaming-playlists-command.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'shared/server-commands/videos') diff --git a/shared/server-commands/videos/streaming-playlists-command.ts b/shared/server-commands/videos/streaming-playlists-command.ts index 950808b60..e7448aa69 100644 --- a/shared/server-commands/videos/streaming-playlists-command.ts +++ b/shared/server-commands/videos/streaming-playlists-command.ts @@ -14,7 +14,7 @@ export class StreamingPlaylistsCommand extends AbstractCommand { withRetry?: boolean // default false currentRetry?: number }): Promise { - const { videoFileToken, reinjectVideoFileToken, withRetry, currentRetry = 1 } = options + const { videoFileToken, reinjectVideoFileToken, withRetry = false, currentRetry = 1 } = options try { const result = await unwrapTextOrDecode(this.getRawRequest({ @@ -51,7 +51,7 @@ export class StreamingPlaylistsCommand extends AbstractCommand { withRetry?: boolean // default false currentRetry?: number }) { - const { withRetry, currentRetry = 1 } = options + const { withRetry = false, currentRetry = 1 } = options try { const result = await unwrapBody(this.getRawRequest({ @@ -85,7 +85,7 @@ export class StreamingPlaylistsCommand extends AbstractCommand { withRetry?: boolean // default false currentRetry?: number }) { - const { withRetry, currentRetry = 1 } = options + const { withRetry = false, currentRetry = 1 } = options try { const result = await unwrapBodyOrDecodeToJSON<{ [ id: string ]: string }>(this.getRawRequest({ -- cgit v1.2.3