tango-app-api-trax 3.4.0-flag-10 → 3.4.0-flag-11

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.4.0-flag-10",
3
+ "version": "3.4.0-flag-11",
4
4
  "description": "Trax",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -874,7 +874,7 @@ export const update = async ( req, res ) => {
874
874
  delete ans.answeroptionNumber;
875
875
  } );
876
876
  let compare = findDifferences( qn, question );
877
- if ( Object.keys( compare ).length && ( compare?.answerType || compare?.answers || compare?.linkType ) ) {
877
+ if ( Object.keys( compare ).length && ( compare?.answerType || compare?.answers || compare?.linkType || compare?.qname ) ) {
878
878
  questionList.questionEdit.push( { sectionName: ele.section, questions: [ { previous: qn, new: question } ] } );
879
879
  }
880
880
  } else {