X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fmodels%2Fvideo%2Fvideo-blacklist.ts;h=8cbfe362e87e87646df9ce4ef312b2c06fa61c63;hb=3487330d308166afb542cbacae0475693c0b059e;hp=680eba471e5f693c55771115e9eb27a70adf4d87;hpb=e0a929179a9dc76e035ca7fda2b61d5ff46afbc5;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/models/video/video-blacklist.ts b/server/models/video/video-blacklist.ts index 680eba471..8cbfe362e 100644 --- a/server/models/video/video-blacklist.ts +++ b/server/models/video/video-blacklist.ts @@ -78,7 +78,7 @@ export class VideoBlacklistModel extends Model { { model: VideoModel, required: true, - where: { ...searchAttribute(search, 'name') }, + where: searchAttribute(search, 'name'), include: [ { model: VideoChannelModel.scope({ method: [ VideoChannelScopeNames.SUMMARY, { withAccount: true } as SummaryOptions ] }),