From 366caf8b71f3d82336b6ac243845c783ef673fc1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 28 Feb 2020 16:51:25 +0100 Subject: Fix build with typescript 3.8 --- server/lib/plugins/plugin-index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/lib/plugins') diff --git a/server/lib/plugins/plugin-index.ts b/server/lib/plugins/plugin-index.ts index dcdfba28c..170f0c7e2 100644 --- a/server/lib/plugins/plugin-index.ts +++ b/server/lib/plugins/plugin-index.ts @@ -27,7 +27,7 @@ async function listAvailablePluginsFromIndex (options: PeertubePluginIndexList) const uri = CONFIG.PLUGINS.INDEX.URL + '/api/v1/plugins' try { - const { body } = await doRequest({ uri, qs, json: true }) + const { body } = await doRequest({ uri, qs, json: true }) logger.debug('Got result from PeerTube index.', { body }) @@ -57,7 +57,7 @@ async function getLatestPluginsVersion (npmNames: string[]): Promise({ uri, body: bodyRequest, json: true, method: 'POST' }) return body } -- cgit v1.2.3