aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/server/config-command.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/extra-utils/server/config-command.ts')
-rw-r--r--shared/extra-utils/server/config-command.ts7
1 files changed, 5 insertions, 2 deletions
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 {
24 return this.getRequestBody<ServerConfig>({ 24 return this.getRequestBody<ServerConfig>({
25 ...options, 25 ...options,
26 26
27 token: null,
28 path, 27 path,
28 implicitToken: false,
29 defaultExpectedStatus: HttpStatusCode.OK_200 29 defaultExpectedStatus: HttpStatusCode.OK_200
30 }) 30 })
31 } 31 }
@@ -36,8 +36,8 @@ export class ConfigCommand extends AbstractCommand {
36 return this.getRequestBody<About>({ 36 return this.getRequestBody<About>({
37 ...options, 37 ...options,
38 38
39 token: null,
40 path, 39 path,
40 implicitToken: false,
41 defaultExpectedStatus: HttpStatusCode.OK_200 41 defaultExpectedStatus: HttpStatusCode.OK_200
42 }) 42 })
43 } 43 }
@@ -49,6 +49,7 @@ export class ConfigCommand extends AbstractCommand {
49 ...options, 49 ...options,
50 50
51 path, 51 path,
52 implicitToken: true,
52 defaultExpectedStatus: HttpStatusCode.OK_200 53 defaultExpectedStatus: HttpStatusCode.OK_200
53 }) 54 })
54 } 55 }
@@ -63,6 +64,7 @@ export class ConfigCommand extends AbstractCommand {
63 64
64 path, 65 path,
65 fields: options.newCustomConfig, 66 fields: options.newCustomConfig,
67 implicitToken: true,
66 defaultExpectedStatus: HttpStatusCode.OK_200 68 defaultExpectedStatus: HttpStatusCode.OK_200
67 }) 69 })
68 } 70 }
@@ -74,6 +76,7 @@ export class ConfigCommand extends AbstractCommand {
74 ...options, 76 ...options,
75 77
76 path, 78 path,
79 implicitToken: true,
77 defaultExpectedStatus: HttpStatusCode.OK_200 80 defaultExpectedStatus: HttpStatusCode.OK_200
78 }) 81 })
79 } 82 }