This commit is contained in:
@@ -912,10 +912,7 @@ async function fetchReportData(vm) {
|
|||||||
}
|
}
|
||||||
vm.obj.objectType = reportDataOptions.ObjectType;
|
vm.obj.objectType = reportDataOptions.ObjectType;
|
||||||
|
|
||||||
let res = await window.$gz.api.upsert(
|
let res = await window.$gz.api.upsert("report/data", reportDataOptions);
|
||||||
"report/object-report-data",
|
|
||||||
reportDataOptions
|
|
||||||
);
|
|
||||||
//We never expect there to be no data here
|
//We never expect there to be no data here
|
||||||
if (!res.hasOwnProperty("data")) {
|
if (!res.hasOwnProperty("data")) {
|
||||||
throw res;
|
throw res;
|
||||||
|
|||||||
Reference in New Issue
Block a user