tango-app-api-trax 3.7.85 → 3.7.86
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
|
@@ -4763,13 +4763,13 @@ export async function downloadChecklist( req, res ) {
|
|
|
4763
4763
|
question.remarks = question.remarks == null || question.remarks == 'null' ? '' : question.remarks;
|
|
4764
4764
|
question.userAnswer.forEach( ( answer ) => {
|
|
4765
4765
|
if ( answer?.referenceImage?.trim() ) {
|
|
4766
|
-
answer.referenceImage =
|
|
4766
|
+
answer.referenceImage = JSON.parse( process.env.CDNURL )?.TraxAnswerCDN+answer.referenceImage;
|
|
4767
4767
|
}
|
|
4768
4768
|
if ( [ 'Capture Image', 'Capture Video' ].includes( answer.validationType ) && answer?.validationAnswer?.trim() ) {
|
|
4769
|
-
answer.validationAnswer =
|
|
4769
|
+
answer.validationAnswer = JSON.parse( process.env.CDNURL )?.TraxAnswerCDN+answer.validationAnswer;
|
|
4770
4770
|
}
|
|
4771
4771
|
if ( answer?.answer?.trim() && [ 'image', 'descriptiveImage', 'multipleImage', 'image/video', 'video' ].includes( question.answerType ) ) {
|
|
4772
|
-
answer.answer =
|
|
4772
|
+
answer.answer = JSON.parse( process.env.CDNURL )?.TraxAnswerCDN+answer.answer;
|
|
4773
4773
|
}
|
|
4774
4774
|
} );
|
|
4775
4775
|
} );
|