Verified Commit 9cc4b9c6 authored by Chocobozzz's avatar Chocobozzz
Browse files

Fix process delete promise return

parent fd1b2d69
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment