]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/shared/requests.ts
Refactor AP context builder
[github/Chocobozzz/PeerTube.git] / server / tests / shared / requests.ts
index d7aedf82f22b092c143af733d65fa000e8b116e4..57120cacacbaf84a785c513e8f95c2ed24238a57 100644 (file)
@@ -22,7 +22,7 @@ export async function makeFollowRequest (to: { url: string }, by: { url: string,
     object: to.url
   }
 
-  const body = activityPubContextify(follow)
+  const body = activityPubContextify(follow, 'Follow')
 
   const httpSignature = {
     algorithm: HTTP_SIGNATURE.ALGORITHM,