aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
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'