tango-app-api-task 3.2.1-beta-6 → 3.2.1-beta-7

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.2.1-beta-6",
3
+ "version": "3.2.1-beta-7",
4
4
  "description": "Task",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -2439,7 +2439,7 @@ export async function createAiTask( req, res ) {
2439
2439
  }
2440
2440
  question[0].questionReferenceImage = images;
2441
2441
  }
2442
- console.log( '----->', answer );
2442
+ console.log( '----->', question );
2443
2443
  if ( inputBody?.answerType === 'image'||inputBody?.answerType === 'descriptiveImage'||inputBody?.answerType === 'multipleImage' ) {
2444
2444
  answer[0].referenceImage = question[0].questionReferenceImage;
2445
2445
  }
@@ -2481,7 +2481,7 @@ async function findAnswer( type ) {
2481
2481
  let answer = [];
2482
2482
 
2483
2483
  switch ( type ) {
2484
- case 'yes/NO':
2484
+ case 'yes/no':
2485
2485
  answer = [
2486
2486
  {
2487
2487
  'answer': 'Yes',