From 419397ab7aee7acfb1ac28a0fec2ca6c91aaa806 Mon Sep 17 00:00:00 2001 From: Devedse Date: Thu, 15 Aug 2024 22:29:49 +0200 Subject: [PATCH] Fixed stats --- src/widgets/develancacheui/component.jsx | 2 +- src/widgets/develancacheui/widget.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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", }, },