aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/schedulers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-02-28 16:51:25 +0100
committerChocobozzz <me@florianbigard.com>2020-02-28 16:51:25 +0100
commit366caf8b71f3d82336b6ac243845c783ef673fc1 (patch)
tree4a685d1177802dac160c6e758fd650c059b84a5d /server/lib/schedulers
parent3637106d7af7a72a9ec80a6b2769c6241f60d909 (diff)
downloadPeerTube-366caf8b71f3d82336b6ac243845c783ef673fc1.tar.gz
PeerTube-366caf8b71f3d82336b6ac243845c783ef673fc1.tar.zst
PeerTube-366caf8b71f3d82336b6ac243845c783ef673fc1.zip
Fix build with typescript 3.8
Diffstat (limited to 'server/lib/schedulers')
-rw-r--r--server/lib/schedulers/auto-follow-index-instances.ts2
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)