aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/server-commands/videos/videos-command.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/server-commands/videos/videos-command.ts')
-rw-r--r--shared/server-commands/videos/videos-command.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/shared/server-commands/videos/videos-command.ts b/shared/server-commands/videos/videos-command.ts
index c0b36d95b..168391523 100644
--- a/shared/server-commands/videos/videos-command.ts
+++ b/shared/server-commands/videos/videos-command.ts
@@ -3,9 +3,8 @@
3import { expect } from 'chai' 3import { expect } from 'chai'
4import { createReadStream, stat } from 'fs-extra' 4import { createReadStream, stat } from 'fs-extra'
5import got, { Response as GotResponse } from 'got' 5import got, { Response as GotResponse } from 'got'
6import { omit } from 'lodash'
7import validator from 'validator' 6import validator from 'validator'
8import { buildAbsoluteFixturePath, pick, wait } from '@shared/core-utils' 7import { buildAbsoluteFixturePath, omit, pick, wait } from '@shared/core-utils'
9import { buildUUID } from '@shared/extra-utils' 8import { buildUUID } from '@shared/extra-utils'
10import { 9import {
11 HttpStatusCode, 10 HttpStatusCode,
@@ -484,7 +483,7 @@ export class VideosCommand extends AbstractCommand {
484 }, 483 },
485 484
486 // Fixture will be sent later 485 // Fixture will be sent later
487 attaches: this.buildUploadAttaches(omit(options.attributes, 'fixture')), 486 attaches: this.buildUploadAttaches(omit(options.attributes, [ 'fixture' ])),
488 implicitToken: true, 487 implicitToken: true,
489 488
490 defaultExpectedStatus: null 489 defaultExpectedStatus: null