diff options
Diffstat (limited to 'shared/extra-utils/videos/captions-command.ts')
-rw-r--r-- | shared/extra-utils/videos/captions-command.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shared/extra-utils/videos/captions-command.ts b/shared/extra-utils/videos/captions-command.ts index a0608e1a6..a65ea99e3 100644 --- a/shared/extra-utils/videos/captions-command.ts +++ b/shared/extra-utils/videos/captions-command.ts | |||
@@ -4,7 +4,7 @@ import { AbstractCommand, OverrideCommandOptions } from '../shared' | |||
4 | 4 | ||
5 | export class CaptionsCommand extends AbstractCommand { | 5 | export class CaptionsCommand extends AbstractCommand { |
6 | 6 | ||
7 | createVideoCaption (options: OverrideCommandOptions & { | 7 | add (options: OverrideCommandOptions & { |
8 | videoId: string | number | 8 | videoId: string | number |
9 | language: string | 9 | language: string |
10 | fixture: string | 10 | fixture: string |
@@ -32,7 +32,7 @@ export class CaptionsCommand extends AbstractCommand { | |||
32 | }) | 32 | }) |
33 | } | 33 | } |
34 | 34 | ||
35 | listVideoCaptions (options: OverrideCommandOptions & { | 35 | list (options: OverrideCommandOptions & { |
36 | videoId: string | number | 36 | videoId: string | number |
37 | }) { | 37 | }) { |
38 | const { videoId } = options | 38 | const { videoId } = options |
@@ -47,7 +47,7 @@ export class CaptionsCommand extends AbstractCommand { | |||
47 | }) | 47 | }) |
48 | } | 48 | } |
49 | 49 | ||
50 | deleteVideoCaption (options: OverrideCommandOptions & { | 50 | delete (options: OverrideCommandOptions & { |
51 | videoId: string | number | 51 | videoId: string | number |
52 | language: string | 52 | language: string |
53 | }) { | 53 | }) { |