1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 09:49:20 +02:00

Rename captions commands

This commit is contained in:
Chocobozzz 2021-07-21 13:58:35 +02:00
parent 4d029ef8ec
commit c63830f154
No known key found for this signature in database
GPG key ID: 583A612D890159BE
9 changed files with 25 additions and 25 deletions

View file

@ -232,7 +232,7 @@ async function prepare () {
}
for (const caption of [ 'ar', 'fr', 'en', 'zh' ]) {
await server.captions.createVideoCaption({
await server.captions.add({
language: caption,
videoId: video.id,
fixture: 'subtitle-good2.vtt'