diff options
Diffstat (limited to 'server/lib/schedulers/auto-follow-index-instances.ts')
-rw-r--r-- | server/lib/schedulers/auto-follow-index-instances.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/schedulers/auto-follow-index-instances.ts b/server/lib/schedulers/auto-follow-index-instances.ts index d700a99f0..a1f5e4a91 100644 --- a/server/lib/schedulers/auto-follow-index-instances.ts +++ b/server/lib/schedulers/auto-follow-index-instances.ts | |||
@@ -41,7 +41,7 @@ export class AutoFollowIndexInstances extends AbstractScheduler { | |||
41 | 41 | ||
42 | this.lastCheck = new Date() | 42 | this.lastCheck = new Date() |
43 | 43 | ||
44 | const { body } = await doRequest({ uri, qs, json: true }) | 44 | const { body } = await doRequest<any>({ uri, qs, json: true }) |
45 | 45 | ||
46 | const hosts: string[] = body.data.map(o => o.host) | 46 | const hosts: string[] = body.data.map(o => o.host) |
47 | const chunks = chunk(hosts, 20) | 47 | const chunks = chunk(hosts, 20) |