aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/server-commands/videos/live-command.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/server-commands/videos/live-command.ts')
-rw-r--r--shared/server-commands/videos/live-command.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/shared/server-commands/videos/live-command.ts b/shared/server-commands/videos/live-command.ts
index 3df47ed4d..d804fd883 100644
--- a/shared/server-commands/videos/live-command.ts
+++ b/shared/server-commands/videos/live-command.ts
@@ -1,9 +1,8 @@
1/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ 1/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
2 2
3import { readdir } from 'fs-extra' 3import { readdir } from 'fs-extra'
4import { omit } from 'lodash'
5import { join } from 'path' 4import { join } from 'path'
6import { wait } from '@shared/core-utils' 5import { omit, wait } from '@shared/core-utils'
7import { 6import {
8 HttpStatusCode, 7 HttpStatusCode,
9 LiveVideo, 8 LiveVideo,
@@ -103,7 +102,7 @@ export class LiveCommand extends AbstractCommand {
103 102
104 path, 103 path,
105 attaches, 104 attaches,
106 fields: omit(fields, 'thumbnailfile', 'previewfile'), 105 fields: omit(fields, [ 'thumbnailfile', 'previewfile' ]),
107 implicitToken: true, 106 implicitToken: true,
108 defaultExpectedStatus: HttpStatusCode.OK_200 107 defaultExpectedStatus: HttpStatusCode.OK_200
109 })) 108 }))