]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/extra-utils/videos/video-blacklist.ts
rename blacklist to block/blocklist, merge block and auto-block views
[github/Chocobozzz/PeerTube.git] / shared / extra-utils / videos / video-blacklist.ts
index ba139ef95269ad7c682c62772098ccd9954e9f9d..c06b2aa5db74912ce10c3e0689df77323e775f8b 100644 (file)
@@ -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