X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fextra-utils%2Foverviews%2Foverviews-command.ts;h=e15644d9426cb7c5a980f8ef2833fa4067c3a7c3;hb=a1637fa1e25b60a88f7cfe50aac8953f50d55761;hp=6f56b0ce481ff586e22246944eef4cddc25dc08f;hpb=04aed76711909507e74905bde3a7fa024d3585c9;p=github%2FChocobozzz%2FPeerTube.git 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 { getVideos (options: OverrideCommandOptions & { page: number }) { - const { token, page } = options + const { page } = options const path = '/api/v1/overviews/videos' const query = { page } @@ -15,9 +15,9 @@ export class OverviewsCommand extends AbstractCommand { return this.getRequestBody({ ...options, - token: token || null, path, query, + implicitToken: false, defaultExpectedStatus: HttpStatusCode.OK_200 }) }