aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-06-07 10:30:36 +0200
committerChocobozzz <me@florianbigard.com>2021-06-07 13:20:08 +0200
commit9cc4b9c61f4caa7414420f1c11ba4380c516a7a2 (patch)
tree564acb6813ca9c0e8a956edf9f4640f866b805ac /server
parentfd1b2d695320be5d86456c939b371b2e9b4f457b (diff)
downloadPeerTube-9cc4b9c61f4caa7414420f1c11ba4380c516a7a2.tar.gz
PeerTube-9cc4b9c61f4caa7414420f1c11ba4380c516a7a2.tar.zst
PeerTube-9cc4b9c61f4caa7414420f1c11ba4380c516a7a2.zip
Fix process delete promise return
Diffstat (limited to 'server')
-rw-r--r--server/lib/activitypub/process/process-delete.ts2
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
131function processDeleteVideoComment (byActor: MActorSignature, videoComment: MCommentOwnerVideo, activity: ActivityDelete) { 131function 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