aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/server/contact-form-command.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-08 10:55:16 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:17 +0200
commita1637fa1e25b60a88f7cfe50aac8953f50d55761 (patch)
tree4d0cc82eef618619a7bcb747812cc7b21e0d8776 /shared/extra-utils/server/contact-form-command.ts
parent04aed76711909507e74905bde3a7fa024d3585c9 (diff)
downloadPeerTube-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.ts2
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 }