mirror of https://github.com/Chocobozzz/PeerTube
Fix process delete promise return
parent
fd1b2d6953
commit
9cc4b9c61f
|
@ -130,7 +130,7 @@ async function processDeleteVideoChannel (videoChannelToRemove: MChannelActor) {
|
|||
|
||||
function processDeleteVideoComment (byActor: MActorSignature, videoComment: MCommentOwnerVideo, activity: ActivityDelete) {
|
||||
// Already deleted
|
||||
if (videoComment.isDeleted()) return
|
||||
if (videoComment.isDeleted()) return Promise.resolve()
|
||||
|
||||
logger.debug('Removing remote video comment "%s".', videoComment.url)
|
||||
|
||||
|
|
Loading…
Reference in New Issue