]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/activitypub/process/process-accept.ts
Add context on activitypub responses
[github/Chocobozzz/PeerTube.git] / server / lib / activitypub / process / process-accept.ts
index 551f09ea73394fa4210c5faa590e2e93755e8ea6..7db2f8ff03c33a32468852d8d3e731497725fb28 100644 (file)
@@ -26,6 +26,6 @@ async function processAccept (actor: ActorModel, targetActor: ActorModel) {
   if (follow.state !== 'accepted') {
     follow.set('state', 'accepted')
     await follow.save()
-    await addFetchOutboxJob(targetActor, undefined)
+    await addFetchOutboxJob(targetActor)
   }
 }