aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-21 13:58:35 +0200
committerChocobozzz <me@florianbigard.com>2021-07-21 13:58:35 +0200
commitc63830f15403ac4e750829f27d8bbbdc9a59282c (patch)
treef35048f1b2249bb3eec916964c084b1cd60f7bf3 /scripts
parent4d029ef8ec3d5274eeaa3ee6d808eb7035e7faef (diff)
downloadPeerTube-c63830f15403ac4e750829f27d8bbbdc9a59282c.tar.gz
PeerTube-c63830f15403ac4e750829f27d8bbbdc9a59282c.tar.zst
PeerTube-c63830f15403ac4e750829f27d8bbbdc9a59282c.zip
Rename captions commands
Diffstat (limited to 'scripts')
-rw-r--r--scripts/benchmark.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/benchmark.ts b/scripts/benchmark.ts
index 071c4dea7..83b932909 100644
--- a/scripts/benchmark.ts
+++ b/scripts/benchmark.ts
@@ -232,7 +232,7 @@ async function prepare () {
232 } 232 }
233 233
234 for (const caption of [ 'ar', 'fr', 'en', 'zh' ]) { 234 for (const caption of [ 'ar', 'fr', 'en', 'zh' ]) {
235 await server.captions.createVideoCaption({ 235 await server.captions.add({
236 language: caption, 236 language: caption,
237 videoId: video.id, 237 videoId: video.id,
238 fixture: 'subtitle-good2.vtt' 238 fixture: 'subtitle-good2.vtt'