aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/bulk/bulk-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/bulk/bulk-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/bulk/bulk-command.ts')
-rw-r--r--shared/extra-utils/bulk/bulk-command.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/extra-utils/bulk/bulk-command.ts b/shared/extra-utils/bulk/bulk-command.ts
index fcbf04164..6dac6034f 100644
--- a/shared/extra-utils/bulk/bulk-command.ts
+++ b/shared/extra-utils/bulk/bulk-command.ts
@@ -12,8 +12,10 @@ export class BulkCommand extends AbstractCommand {
12 12
13 return this.postBodyRequest({ 13 return this.postBodyRequest({
14 ...options, 14 ...options,
15
15 path: '/api/v1/bulk/remove-comments-of', 16 path: '/api/v1/bulk/remove-comments-of',
16 fields: attributes, 17 fields: attributes,
18 implicitToken: true,
17 defaultExpectedStatus: HttpStatusCode.NO_CONTENT_204 19 defaultExpectedStatus: HttpStatusCode.NO_CONTENT_204
18 }) 20 })
19 } 21 }