X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Flib%2Factivitypub%2Fvideos.ts;h=c318978fd4fbeb4310b8eacff032e5ffa76ef062;hb=0b5c385b4529f3bef8f9523de3f9470ffa58f5f5;hp=970a953fc43a4363efd36f112fda019528d52adc;hpb=0283eaac2a8e73006c66df3cf5bb9012e37450e5;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/lib/activitypub/videos.ts b/server/lib/activitypub/videos.ts index 970a953fc..c318978fd 100644 --- a/server/lib/activitypub/videos.ts +++ b/server/lib/activitypub/videos.ts @@ -53,13 +53,13 @@ import { FilteredModelAttributes } from '../../typings/sequelize' import { autoBlacklistVideoIfNeeded } from '../video-blacklist' import { ActorFollowScoreCache } from '../files-cache' import { - MAccountActor, + MAccountIdActor, MChannelAccountLight, MChannelDefault, MChannelId, MVideo, - MVideoAccountLightBlacklistAllFiles, MVideoAccountLight, + MVideoAccountLightBlacklistAllFiles, MVideoAP, MVideoAPWithoutCaption, MVideoFile, @@ -265,7 +265,7 @@ async function getOrCreateVideoAndAccountAndChannel (options: { async function updateVideoFromAP (options: { video: MVideoAccountLightBlacklistAllFiles, videoObject: VideoTorrentObject, - account: MAccountActor, + account: MAccountIdActor, channel: MChannelDefault, overrideTo?: string[] }) {