tango-app-api-store-builder 1.0.0-beta-93 → 1.0.0-beta-94

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.
@@ -507,6 +507,9 @@ export async function updateAnswers( req, res ) {
507
507
  };
508
508
 
509
509
  await planoTaskService.updateOne( { planoId: req.body.planoId, floorId: req.body.floorId, fixtureId: req.body.fixtureId, type: req.body.type, date_string: dayjs().format( 'YYYY-MM-DD' ), ...( taskDetails?._id ) ? { taskId: taskDetails?._id } :{} }, data );
510
+ // req.body.taskId = taskDetails?._id;
511
+ // req.body.status = 'submit';
512
+ // await updateStatus( req, res );
510
513
  return res.sendSuccess( 'Fixture details updated successfully' );
511
514
  } catch ( e ) {
512
515
  logger.error( { functionName: 'updateAnswers', error: e } );
@@ -28,4 +28,5 @@ scriptRouter
28
28
  .post( '/updateCrestVms', scriptController.updateCrestVms )
29
29
  .post( '/downloadPlanoImages', scriptController.downloadPlanoImage )
30
30
  .post( '/getVideoUrls', scriptController.getVideoLinks )
31
- .post( '/updateExcelPlanogram', scriptController.updateExcelPlanogram );
31
+ .post( '/updateExcelPlanogram', scriptController.updateExcelPlanogram )
32
+ .post( '/recorrectTaskData', scriptController.recorrectTaskData );