tango-app-api-task 3.4.1-activitylog-8 → 3.4.1-activitylog-9

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.1-activitylog-8",
3
+ "version": "3.4.1-activitylog-9",
4
4
  "description": "Task",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -188,6 +188,8 @@ export async function createUpdateTask( req, res ) {
188
188
  } );
189
189
  let compare = findDifferences( qn, question );
190
190
  if ( Object.keys( compare ).length ) {
191
+ qn.questionReferenceImage = qn.questionReferenceImage.toString();
192
+ question.questionReferenceImage = question.questionReferenceImage.toString();
191
193
  questionList.questionEdit.push( { sectionName: ele.section, questions: [ { previous: qn, new: question } ] } );
192
194
  }
193
195
  } else {
@@ -202,7 +204,6 @@ export async function createUpdateTask( req, res ) {
202
204
  } );
203
205
  } );
204
206
 
205
- console.log( getExistQuestions, 'qns' );
206
207
 
207
208
  inputBody.sections.forEach( ( ele ) => {
208
209
  ele.questions.forEach( ( qn ) => {