tango-app-api-trax 3.3.1-beta-2 → 3.3.1-beta-3

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-api-trax",
3
- "version": "3.3.1-beta-2",
3
+ "version": "3.3.1-beta-3",
4
4
  "description": "Trax",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -2143,6 +2143,7 @@ async function insertPCBulkV3( getCLconfig, checklistId, currentdate, updatedche
2143
2143
  let findQuestion = getsubmitDetails[0].questionAnswers[index].questions.findIndex( ( ele ) => ele.qname.trim() == qns?.oldQname?.trim() || ele.qname.trim() == qns.qname.trim() );
2144
2144
  if ( findQuestion != -1 ) {
2145
2145
  let data = JSON.parse( JSON.stringify( getsubmitDetails[0].questionAnswers[index].questions[findQuestion] ) );
2146
+ getsubmitDetails[0].questionAnswers[index].questions[findQuestion].qno = qns.qno;
2146
2147
  delete data.userAnswer;
2147
2148
  delete data.parentanswer;
2148
2149
  delete data.remarks;