Fixed stats

This commit is contained in:
Devedse 2024-08-15 22:29:49 +02:00
parent e696a03158
commit 419397ab7a
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ export default function Component({ service }) {
const { data: downloadStatsData, error: downloadStatsError } = useWidgetAPI( const { data: downloadStatsData, error: downloadStatsError } = useWidgetAPI(
widget, widget,
"DownloadStats/GetTotalDownloadStats", "stats",
); );
if (downloadStatsError) { if (downloadStatsError) {

View File

@ -5,7 +5,7 @@ const widget = {
proxyHandler: genericProxyHandler, proxyHandler: genericProxyHandler,
mappings: { mappings: {
"DownloadStats/GetTotalDownloadStats": { "stats": {
endpoint: "DownloadStats/GetTotalDownloadStats", endpoint: "DownloadStats/GetTotalDownloadStats",
}, },
}, },