From a1637fa1e25b60a88f7cfe50aac8953f50d55761 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 8 Jul 2021 10:55:16 +0200 Subject: Specify if we want to fallback to the server token --- shared/extra-utils/server/config-command.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'shared/extra-utils/server/config-command.ts') diff --git a/shared/extra-utils/server/config-command.ts b/shared/extra-utils/server/config-command.ts index 959848706..f5d7fc5e3 100644 --- a/shared/extra-utils/server/config-command.ts +++ b/shared/extra-utils/server/config-command.ts @@ -24,8 +24,8 @@ export class ConfigCommand extends AbstractCommand { return this.getRequestBody({ ...options, - token: null, path, + implicitToken: false, defaultExpectedStatus: HttpStatusCode.OK_200 }) } @@ -36,8 +36,8 @@ export class ConfigCommand extends AbstractCommand { return this.getRequestBody({ ...options, - token: null, path, + implicitToken: false, defaultExpectedStatus: HttpStatusCode.OK_200 }) } @@ -49,6 +49,7 @@ export class ConfigCommand extends AbstractCommand { ...options, path, + implicitToken: true, defaultExpectedStatus: HttpStatusCode.OK_200 }) } @@ -63,6 +64,7 @@ export class ConfigCommand extends AbstractCommand { path, fields: options.newCustomConfig, + implicitToken: true, defaultExpectedStatus: HttpStatusCode.OK_200 }) } @@ -74,6 +76,7 @@ export class ConfigCommand extends AbstractCommand { ...options, path, + implicitToken: true, defaultExpectedStatus: HttpStatusCode.OK_200 }) } -- cgit v1.2.3