const uri = CONFIG.PLUGINS.INDEX.URL + '/api/v1/plugins'
try {
- const { body } = await doRequest({ uri, qs, json: true })
+ const { body } = await doRequest<any>({ uri, qs, json: true })
logger.debug('Got result from PeerTube index.', { body })
const uri = CONFIG.PLUGINS.INDEX.URL + '/api/v1/plugins/latest-version'
- const { body } = await doRequest({ uri, body: bodyRequest, json: true, method: 'POST' })
+ const { body } = await doRequest<any>({ uri, body: bodyRequest, json: true, method: 'POST' })
return body
}