]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/activitypub/share.ts
Put config redundancy strategies in "strategies" subkey
[github/Chocobozzz/PeerTube.git] / server / lib / activitypub / share.ts
index fe3d73e9b7db6139ce7aebd6a0bd182945b64ac8..3ff60a97cf5aca0abb994965308599b63787a302 100644 (file)
@@ -22,6 +22,8 @@ async function shareVideoByServerAndChannel (video: VideoModel, t: Transaction)
 }
 
 async function changeVideoChannelShare (video: VideoModel, oldVideoChannel: VideoChannelModel, t: Transaction) {
+  logger.info('Updating video channel of video %s: %s -> %s.', video.uuid, oldVideoChannel.name, video.VideoChannel.name)
+
   await undoShareByVideoChannel(video, oldVideoChannel, t)
 
   await shareByVideoChannel(video, t)