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:
parent
4d029ef8ec
commit
c63830f154
9 changed files with 25 additions and 25 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue