diff options
author | Chocobozzz <me@florianbigard.com> | 2020-02-28 16:51:25 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-02-28 16:51:25 +0100 |
commit | 366caf8b71f3d82336b6ac243845c783ef673fc1 (patch) | |
tree | 4a685d1177802dac160c6e758fd650c059b84a5d /server/lib/schedulers/auto-follow-index-instances.ts | |
parent | 3637106d7af7a72a9ec80a6b2769c6241f60d909 (diff) | |
download | PeerTube-366caf8b71f3d82336b6ac243845c783ef673fc1.tar.gz PeerTube-366caf8b71f3d82336b6ac243845c783ef673fc1.tar.zst PeerTube-366caf8b71f3d82336b6ac243845c783ef673fc1.zip |
Fix build with typescript 3.8
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) |