diff --git a/server/routes/api/torrents.ts b/server/routes/api/torrents.ts index 42ac1210..a4dbab78 100644 --- a/server/routes/api/torrents.ts +++ b/server/routes/api/torrents.ts @@ -632,6 +632,8 @@ router.get('/:hash/details', async (req, res) => { const peers = req.services?.clientGatewayService?.getTorrentPeers(req.params.hash); const trackers = req.services?.clientGatewayService?.getTorrentTrackers(req.params.hash); + await Promise.all([contents, peers, trackers]); + callback({ contents: await contents, peers: await peers,