+ const blacklist = await VideoBlacklistModel.create(toCreate)
+ blacklist.Video = videoInstance
+
+ if (body.unfederate === true) {
+ await sendDeleteVideo(videoInstance, undefined)
+ }
+
+ Notifier.Instance.notifyOnVideoBlacklist(blacklist)
+
+ logger.info('Video %s blacklisted.', res.locals.video.uuid)
+