]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/schedulers/auto-follow-index-instances.ts
Add overview of a user's actions in user-edit (#2558)
[github/Chocobozzz/PeerTube.git] / server / lib / schedulers / auto-follow-index-instances.ts
index d700a99f0b82257d630c3a1db7232f8aea7fb9ef..a1f5e4a916800d5cf34e065705e53dbc7f133793 100644 (file)
@@ -41,7 +41,7 @@ export class AutoFollowIndexInstances extends AbstractScheduler {
 
       this.lastCheck = new Date()
 
-      const { body } = await doRequest({ uri, qs, json: true })
+      const { body } = await doRequest<any>({ uri, qs, json: true })
 
       const hosts: string[] = body.data.map(o => o.host)
       const chunks = chunk(hosts, 20)