X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fextra-utils%2Fvideos%2Fvideo-blacklist.ts;h=c06b2aa5db74912ce10c3e0689df77323e775f8b;hb=5baee5fca418487e72ddcd6419d31bca8659b668;hp=ba139ef95269ad7c682c62772098ccd9954e9f9d;hpb=d840487fed32b4604b02030c0d7464afa925904f;p=github%2FChocobozzz%2FPeerTube.git 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 @@ import * as request from 'supertest' -import { VideoBlacklistType } from '../../models/videos' +import { VideoBlockType } from '../../models/videos' import { makeGetRequest } from '..' function addVideoToBlacklist ( @@ -45,7 +45,7 @@ function getBlacklistedVideosList (parameters: { url: string token: string sort?: string - type?: VideoBlacklistType + type?: VideoBlockType specialStatus?: number }) { const { url, token, sort, type, specialStatus = 200 } = parameters