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/activitypub/share.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/activitypub/share.ts')
-rw-r--r-- | server/lib/activitypub/share.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/share.ts b/server/lib/activitypub/share.ts index e847c4b7d..a7c645062 100644 --- a/server/lib/activitypub/share.ts +++ b/server/lib/activitypub/share.ts | |||
@@ -36,7 +36,7 @@ async function addVideoShares (shareUrls: string[], video: MVideoId) { | |||
36 | await Bluebird.map(shareUrls, async shareUrl => { | 36 | await Bluebird.map(shareUrls, async shareUrl => { |
37 | try { | 37 | try { |
38 | // Fetch url | 38 | // Fetch url |
39 | const { body } = await doRequest({ | 39 | const { body } = await doRequest<any>({ |
40 | uri: shareUrl, | 40 | uri: shareUrl, |
41 | json: true, | 41 | json: true, |
42 | activityPub: true | 42 | activityPub: true |