const { video, created } = await getOrCreateVideoAndAccountAndChannel({ videoObject: videoToCreateData })
- if (created) Notifier.Instance.notifyOnNewVideo(video)
+ if (created) Notifier.Instance.notifyOnNewVideoIfNeeded(video)
return video
}
commentObject.inReplyTo,
{ err }
)
+ return
}
const { comment, created } = await addVideoComment(video, commentObject.id)