tango-app-api-task 3.2.0-beta.10 → 3.2.0-beta.11
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
|
@@ -1385,7 +1385,7 @@ export async function createChecklistTask( req, res ) {
|
|
|
1385
1385
|
return res.sendError( 'No data found', 204 );
|
|
1386
1386
|
}
|
|
1387
1387
|
let question = taskDetails.questionAnswers;
|
|
1388
|
-
let sectionIndex = question.findIndex( ( sec ) => sec
|
|
1388
|
+
let sectionIndex = question.findIndex( ( sec ) => sec?.sectionName == req.body?.sectionName );
|
|
1389
1389
|
if ( sectionIndex == -1 ) {
|
|
1390
1390
|
return res.sendError( 'section is not found', 400 );
|
|
1391
1391
|
}
|
|
@@ -15432,7 +15432,8 @@ export async function teamMigrations( req, res ) {
|
|
|
15432
15432
|
},
|
|
15433
15433
|
],
|
|
15434
15434
|
};
|
|
15435
|
-
|
|
15435
|
+
await createTeamsModel( payload );
|
|
15436
|
+
// const teams = await createTeamsModel( payload );
|
|
15436
15437
|
} else {
|
|
15437
15438
|
let userIn = teamsExist.users.filter( ( data ) => data.email === userexits.userName );
|
|
15438
15439
|
if ( userIn.length==0 ) {
|