diff options
author | Chocobozzz <me@florianbigard.com> | 2019-08-21 08:57:00 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-08-21 08:57:00 +0200 |
commit | f92e7f76d43cbad173be87f47105b9a02032318a (patch) | |
tree | 2b18ff4d3cd863ff0f91adf7ca80fd7a2f5b3d05 /server/lib/activitypub/videos.ts | |
parent | 1ca9f7c3f7afac2af4c4c25b98426731f7e789c6 (diff) | |
download | PeerTube-f92e7f76d43cbad173be87f47105b9a02032318a.tar.gz PeerTube-f92e7f76d43cbad173be87f47105b9a02032318a.tar.zst PeerTube-f92e7f76d43cbad173be87f47105b9a02032318a.zip |
Fix ownership change
Diffstat (limited to 'server/lib/activitypub/videos.ts')
-rw-r--r-- | server/lib/activitypub/videos.ts | 6 |
1 files changed, 3 insertions, 3 deletions
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' | |||
53 | import { autoBlacklistVideoIfNeeded } from '../video-blacklist' | 53 | import { autoBlacklistVideoIfNeeded } from '../video-blacklist' |
54 | import { ActorFollowScoreCache } from '../files-cache' | 54 | import { ActorFollowScoreCache } from '../files-cache' |
55 | import { | 55 | import { |
56 | MAccountActor, | 56 | MAccountIdActor, |
57 | MChannelAccountLight, | 57 | MChannelAccountLight, |
58 | MChannelDefault, | 58 | MChannelDefault, |
59 | MChannelId, | 59 | MChannelId, |
60 | MVideo, | 60 | MVideo, |
61 | MVideoAccountLightBlacklistAllFiles, | ||
62 | MVideoAccountLight, | 61 | MVideoAccountLight, |
62 | MVideoAccountLightBlacklistAllFiles, | ||
63 | MVideoAP, | 63 | MVideoAP, |
64 | MVideoAPWithoutCaption, | 64 | MVideoAPWithoutCaption, |
65 | MVideoFile, | 65 | MVideoFile, |
@@ -265,7 +265,7 @@ async function getOrCreateVideoAndAccountAndChannel (options: { | |||
265 | async function updateVideoFromAP (options: { | 265 | async function updateVideoFromAP (options: { |
266 | video: MVideoAccountLightBlacklistAllFiles, | 266 | video: MVideoAccountLightBlacklistAllFiles, |
267 | videoObject: VideoTorrentObject, | 267 | videoObject: VideoTorrentObject, |
268 | account: MAccountActor, | 268 | account: MAccountIdActor, |
269 | channel: MChannelDefault, | 269 | channel: MChannelDefault, |
270 | overrideTo?: string[] | 270 | overrideTo?: string[] |
271 | }) { | 271 | }) { |