diff --git a/src/widgets/develancacheui/component.jsx b/src/widgets/develancacheui/component.jsx index 9c07c6df5..f292161f2 100644 --- a/src/widgets/develancacheui/component.jsx +++ b/src/widgets/develancacheui/component.jsx @@ -11,7 +11,7 @@ export default function Component({ service }) { const { data: downloadStatsData, error: downloadStatsError } = useWidgetAPI( widget, - "DownloadStats/GetTotalDownloadStats", + "stats", ); if (downloadStatsError) { diff --git a/src/widgets/develancacheui/widget.js b/src/widgets/develancacheui/widget.js index 587d252bf..d4aee3206 100644 --- a/src/widgets/develancacheui/widget.js +++ b/src/widgets/develancacheui/widget.js @@ -5,7 +5,7 @@ const widget = { proxyHandler: genericProxyHandler, mappings: { - "DownloadStats/GetTotalDownloadStats": { + "stats": { endpoint: "DownloadStats/GetTotalDownloadStats", }, },