diff options
Diffstat (limited to 'shared/extra-utils/custom-pages/custom-pages-command.ts')
-rw-r--r-- | shared/extra-utils/custom-pages/custom-pages-command.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/extra-utils/custom-pages/custom-pages-command.ts b/shared/extra-utils/custom-pages/custom-pages-command.ts index a062c9774..0dd77503e 100644 --- a/shared/extra-utils/custom-pages/custom-pages-command.ts +++ b/shared/extra-utils/custom-pages/custom-pages-command.ts | |||
@@ -9,7 +9,9 @@ export class CustomPagesCommand extends AbstractCommand { | |||
9 | 9 | ||
10 | return this.getRequestBody<CustomPage>({ | 10 | return this.getRequestBody<CustomPage>({ |
11 | ...options, | 11 | ...options, |
12 | |||
12 | path, | 13 | path, |
14 | implicitToken: false, | ||
13 | defaultExpectedStatus: HttpStatusCode.OK_200 | 15 | defaultExpectedStatus: HttpStatusCode.OK_200 |
14 | }) | 16 | }) |
15 | } | 17 | } |
@@ -22,8 +24,10 @@ export class CustomPagesCommand extends AbstractCommand { | |||
22 | 24 | ||
23 | return this.putBodyRequest({ | 25 | return this.putBodyRequest({ |
24 | ...options, | 26 | ...options, |
27 | |||
25 | path, | 28 | path, |
26 | fields: { content }, | 29 | fields: { content }, |
30 | implicitToken: true, | ||
27 | defaultExpectedStatus: HttpStatusCode.NO_CONTENT_204 | 31 | defaultExpectedStatus: HttpStatusCode.NO_CONTENT_204 |
28 | }) | 32 | }) |
29 | } | 33 | } |