From 9cc4b9c61f4caa7414420f1c11ba4380c516a7a2 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 7 Jun 2021 10:30:36 +0200 Subject: Fix process delete promise return --- server/lib/activitypub/process/process-delete.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/lib/activitypub/process/process-delete.ts') diff --git a/server/lib/activitypub/process/process-delete.ts b/server/lib/activitypub/process/process-delete.ts index 20214246c..44f6a87b0 100644 --- a/server/lib/activitypub/process/process-delete.ts +++ b/server/lib/activitypub/process/process-delete.ts @@ -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) -- cgit v1.2.3