]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/activitypub/video-rates.ts
Fix plugin storeData
[github/Chocobozzz/PeerTube.git] / server / lib / activitypub / video-rates.ts
index 79ccfbc7edbba0e8b8c9d27496dec066e7659791..202368c8f0b80afa2499b6bea6c74cad6a40b655 100644 (file)
@@ -18,7 +18,7 @@ async function createRates (ratesUrl: string[], video: MVideo, rate: VideoRateTy
   await Bluebird.map(ratesUrl, async rateUrl => {
     try {
       // Fetch url
-      const { body } = await doRequest({
+      const { body } = await doRequest<any>({
         uri: rateUrl,
         json: true,
         activityPub: true