diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-08 10:55:16 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:17 +0200 |
commit | a1637fa1e25b60a88f7cfe50aac8953f50d55761 (patch) | |
tree | 4d0cc82eef618619a7bcb747812cc7b21e0d8776 /shared/extra-utils/server/contact-form-command.ts | |
parent | 04aed76711909507e74905bde3a7fa024d3585c9 (diff) | |
download | PeerTube-a1637fa1e25b60a88f7cfe50aac8953f50d55761.tar.gz PeerTube-a1637fa1e25b60a88f7cfe50aac8953f50d55761.tar.zst PeerTube-a1637fa1e25b60a88f7cfe50aac8953f50d55761.zip |
Specify if we want to fallback to the server token
Diffstat (limited to 'shared/extra-utils/server/contact-form-command.ts')
-rw-r--r-- | shared/extra-utils/server/contact-form-command.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/extra-utils/server/contact-form-command.ts b/shared/extra-utils/server/contact-form-command.ts index 943e5ccbb..8d034552b 100644 --- a/shared/extra-utils/server/contact-form-command.ts +++ b/shared/extra-utils/server/contact-form-command.ts | |||
@@ -23,8 +23,8 @@ export class ContactFormCommand extends AbstractCommand { | |||
23 | ...options, | 23 | ...options, |
24 | 24 | ||
25 | path, | 25 | path, |
26 | token: null, | ||
27 | fields: body, | 26 | fields: body, |
27 | implicitToken: false, | ||
28 | defaultExpectedStatus: HttpStatusCode.NO_CONTENT_204 | 28 | defaultExpectedStatus: HttpStatusCode.NO_CONTENT_204 |
29 | }) | 29 | }) |
30 | } | 30 | } |