diff options
Diffstat (limited to 'shared/extra-utils/overviews/overviews-command.ts')
-rw-r--r-- | shared/extra-utils/overviews/overviews-command.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/extra-utils/overviews/overviews-command.ts b/shared/extra-utils/overviews/overviews-command.ts index 6f56b0ce4..e15644d94 100644 --- a/shared/extra-utils/overviews/overviews-command.ts +++ b/shared/extra-utils/overviews/overviews-command.ts | |||
@@ -7,7 +7,7 @@ export class OverviewsCommand extends AbstractCommand { | |||
7 | getVideos (options: OverrideCommandOptions & { | 7 | getVideos (options: OverrideCommandOptions & { |
8 | page: number | 8 | page: number |
9 | }) { | 9 | }) { |
10 | const { token, page } = options | 10 | const { page } = options |
11 | const path = '/api/v1/overviews/videos' | 11 | const path = '/api/v1/overviews/videos' |
12 | 12 | ||
13 | const query = { page } | 13 | const query = { page } |
@@ -15,9 +15,9 @@ export class OverviewsCommand extends AbstractCommand { | |||
15 | return this.getRequestBody<VideosOverview>({ | 15 | return this.getRequestBody<VideosOverview>({ |
16 | ...options, | 16 | ...options, |
17 | 17 | ||
18 | token: token || null, | ||
19 | path, | 18 | path, |
20 | query, | 19 | query, |
20 | implicitToken: false, | ||
21 | defaultExpectedStatus: HttpStatusCode.OK_200 | 21 | defaultExpectedStatus: HttpStatusCode.OK_200 |
22 | }) | 22 | }) |
23 | } | 23 | } |