@measurequick/measurequick-report-generator 1.5.71 → 1.5.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -184,10 +184,8 @@ export async function getReport(payload) {
|
|
|
184
184
|
/************* DUCT SCREENING SHEET ***********/
|
|
185
185
|
try {
|
|
186
186
|
if (payload.project.duct_screening && payload.project.duct_screening.length > 0) {
|
|
187
|
-
let ductPayload =
|
|
188
|
-
|
|
189
|
-
};
|
|
190
|
-
|
|
187
|
+
let ductPayload = payload;
|
|
188
|
+
ductPayload.test = payload.project.duct_screening[payload.project.duct_screening.length-1];
|
|
191
189
|
let nciReport = await nciReport.getReport(ductPayload);
|
|
192
190
|
|
|
193
191
|
// Ensure that nciReport is defined and has the expected structure
|