diff options
author | Chocobozzz <me@florianbigard.com> | 2021-06-07 10:30:36 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-06-07 13:20:08 +0200 |
commit | 9cc4b9c61f4caa7414420f1c11ba4380c516a7a2 (patch) | |
tree | 564acb6813ca9c0e8a956edf9f4640f866b805ac | |
parent | fd1b2d695320be5d86456c939b371b2e9b4f457b (diff) | |
download | PeerTube-9cc4b9c61f4caa7414420f1c11ba4380c516a7a2.tar.gz PeerTube-9cc4b9c61f4caa7414420f1c11ba4380c516a7a2.tar.zst PeerTube-9cc4b9c61f4caa7414420f1c11ba4380c516a7a2.zip |
Fix process delete promise return
-rw-r--r-- | server/lib/activitypub/process/process-delete.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
130 | 130 | ||
131 | function processDeleteVideoComment (byActor: MActorSignature, videoComment: MCommentOwnerVideo, activity: ActivityDelete) { | 131 | function processDeleteVideoComment (byActor: MActorSignature, videoComment: MCommentOwnerVideo, activity: ActivityDelete) { |
132 | // Already deleted | 132 | // Already deleted |
133 | if (videoComment.isDeleted()) return | 133 | if (videoComment.isDeleted()) return Promise.resolve() |
134 | 134 | ||
135 | logger.debug('Removing remote video comment "%s".', videoComment.url) | 135 | logger.debug('Removing remote video comment "%s".', videoComment.url) |
136 | 136 | ||