X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Flib%2Factivitypub%2Fsend%2Fsend-undo.ts;h=442178c420461922206317c5ceee7e9b521a3aaa;hb=bae616273d455d225d131eb17c56db6c20a0b6b3;hp=36d7ef99199e58a68b095f16da6331193343245c;hpb=a219c9100b3ce8774d454497d46be87465bf664e;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/lib/activitypub/send/send-undo.ts b/server/lib/activitypub/send/send-undo.ts index 36d7ef991..442178c42 100644 --- a/server/lib/activitypub/send/send-undo.ts +++ b/server/lib/activitypub/send/send-undo.ts @@ -44,7 +44,7 @@ function sendUndoFollow (actorFollow: MActorFollowActors, t: Transaction) { const followActivity = buildFollowActivity(actorFollow.url, me, following) const undoActivity = undoActivityData(undoUrl, me, followActivity) - return t.afterCommit(() => { + t.afterCommit(() => { return unicastTo({ data: undoActivity, byActor: me,