mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-07 09:35:54 -08:00
Fixed stats
This commit is contained in:
@@ -11,7 +11,7 @@ export default function Component({ service }) {
|
||||
|
||||
const { data: downloadStatsData, error: downloadStatsError } = useWidgetAPI(
|
||||
widget,
|
||||
"DownloadStats/GetTotalDownloadStats",
|
||||
"stats",
|
||||
);
|
||||
|
||||
if (downloadStatsError) {
|
||||
|
||||
@@ -5,7 +5,7 @@ const widget = {
|
||||
proxyHandler: genericProxyHandler,
|
||||
|
||||
mappings: {
|
||||
"DownloadStats/GetTotalDownloadStats": {
|
||||
"stats": {
|
||||
endpoint: "DownloadStats/GetTotalDownloadStats",
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user