aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/captions-utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/helpers/captions-utils.ts')
-rw-r--r--server/helpers/captions-utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/captions-utils.ts b/server/helpers/captions-utils.ts
index 0dad23759..7cbfb3561 100644
--- a/server/helpers/captions-utils.ts
+++ b/server/helpers/captions-utils.ts
@@ -30,7 +30,7 @@ export {
30// --------------------------------------------------------------------------- 30// ---------------------------------------------------------------------------
31 31
32function convertSrtToVtt (source: string, destination: string) { 32function convertSrtToVtt (source: string, destination: string) {
33 return new Promise((res, rej) => { 33 return new Promise<void>((res, rej) => {
34 const file = createReadStream(source) 34 const file = createReadStream(source)
35 const converter = srt2vtt() 35 const converter = srt2vtt()
36 const writer = createWriteStream(destination) 36 const writer = createWriteStream(destination)