diff options
Diffstat (limited to 'shared/extra-utils/videos/video-blacklist.ts')
-rw-r--r-- | shared/extra-utils/videos/video-blacklist.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/extra-utils/videos/video-blacklist.ts b/shared/extra-utils/videos/video-blacklist.ts index ba139ef95..c06b2aa5d 100644 --- a/shared/extra-utils/videos/video-blacklist.ts +++ b/shared/extra-utils/videos/video-blacklist.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | import * as request from 'supertest' | 1 | import * as request from 'supertest' |
2 | import { VideoBlacklistType } from '../../models/videos' | 2 | import { VideoBlockType } from '../../models/videos' |
3 | import { makeGetRequest } from '..' | 3 | import { makeGetRequest } from '..' |
4 | 4 | ||
5 | function addVideoToBlacklist ( | 5 | function addVideoToBlacklist ( |
@@ -45,7 +45,7 @@ function getBlacklistedVideosList (parameters: { | |||
45 | url: string | 45 | url: string |
46 | token: string | 46 | token: string |
47 | sort?: string | 47 | sort?: string |
48 | type?: VideoBlacklistType | 48 | type?: VideoBlockType |
49 | specialStatus?: number | 49 | specialStatus?: number |
50 | }) { | 50 | }) { |
51 | const { url, token, sort, type, specialStatus = 200 } = parameters | 51 | const { url, token, sort, type, specialStatus = 200 } = parameters |