This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user