]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/activitypub/share.ts
Fix internal videos in playlists
[github/Chocobozzz/PeerTube.git] / server / lib / activitypub / share.ts
index e847c4b7d265c35ced580c13ea7e0eb33cd9f7c0..a7c6450627a26a8fbdbef22dfd0dcb8983e9b476 100644 (file)
@@ -36,7 +36,7 @@ async function addVideoShares (shareUrls: string[], video: MVideoId) {
   await Bluebird.map(shareUrls, async shareUrl => {
     try {
       // Fetch url
-      const { body } = await doRequest({
+      const { body } = await doRequest<any>({
         uri: shareUrl,
         json: true,
         activityPub: true