Fixed stats
This commit is contained in:
parent
e696a03158
commit
419397ab7a
@ -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",
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user