This commit is contained in:
2020-09-03 17:35:06 +00:00
parent 6d7cb4baba
commit 15bdee1be0

View File

@@ -912,10 +912,7 @@ async function fetchReportData(vm) {
}
vm.obj.objectType = reportDataOptions.ObjectType;
let res = await window.$gz.api.upsert(
"report/object-report-data",
reportDataOptions
);
let res = await window.$gz.api.upsert("report/data", reportDataOptions);
//We never expect there to be no data here
if (!res.hasOwnProperty("data")) {
throw res;