tango-app-api-task 3.4.0-alpha-4 → 3.4.0-flag-1

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-task",
3
- "version": "3.4.0-alpha-4",
3
+ "version": "3.4.0-flag-1",
4
4
  "description": "Task",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -192,7 +192,7 @@ export async function createUpdateTask( req, res ) {
192
192
  } );
193
193
  let compare = findDifferences( qn, question );
194
194
  if ( Object.keys( compare ).length && ( compare?.answerType || compare?.answers || compare?.linkType ) ) {
195
- questionList.questionEdit.push( { sectionName: ele.section, questions: [ { previous: qn }, { new: question } ] } );
195
+ questionList.questionEdit.push( { sectionName: ele.section, questions: [ { previous: qn ,new: question} ] } );
196
196
  }
197
197
  } else {
198
198
  let sectionIndex = questionList.questionDelete.findIndex( ( sec ) => sec.sectionName === ele.section );