tango-app-api-trax 3.4.1-activitylog-1 → 3.4.1-activitylog-2
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
|
@@ -383,7 +383,7 @@ export async function redoChecklist( req, res ) {
|
|
|
383
383
|
return res.sendError( 'section is not found', 400 );
|
|
384
384
|
}
|
|
385
385
|
|
|
386
|
-
let findQuestion = question[sectionIndex].questions.findIndex( ( ele ) => ele.
|
|
386
|
+
let findQuestion = question[sectionIndex].questions.findIndex( ( ele ) => ele.qno == req.body.payload.qno );
|
|
387
387
|
|
|
388
388
|
let data = { ...question[sectionIndex].questions[findQuestion], redo: true, redoComment: req.body.payload?.checklistDescription || '' };
|
|
389
389
|
// if ( checklistDetails.client_id == '458' ) {
|