🐛 Fix bug with download speed module
This commit is contained in:
@@ -49,7 +49,7 @@ export default function TotalDownloadsComponent() {
|
|||||||
const interval = setSafeInterval(() => {
|
const interval = setSafeInterval(() => {
|
||||||
// Send one request with each download service inside
|
// Send one request with each download service inside
|
||||||
axios
|
axios
|
||||||
.post('/api/modules/downloads')
|
.post('/api/modules/torrents')
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
setTorrents(response.data);
|
setTorrents(response.data);
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user