]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/video/video-blacklist.ts
Add ability to import video with youtube-dl
[github/Chocobozzz/PeerTube.git] / server / models / video / video-blacklist.ts
index 3adcec149f402a1956f952e51b8bdbd3a9e588ca..26167174abe8ff6234045ae0ab14897f6e64e234 100644 (file)
@@ -36,7 +36,7 @@ export class VideoBlacklistModel extends Model<VideoBlacklistModel> {
     const query = {
       offset: start,
       limit: count,
-      order: [ getSortOnModel(sort.sortModel, sort.sortValue) ],
+      order: getSortOnModel(sort.sortModel, sort.sortValue),
       include: [ { model: VideoModel } ]
     }