tango-app-api-task 3.2.1-beta-41 → 3.2.1-beta-42

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-41",
3
+ "version": "3.2.1-beta-42",
4
4
  "description": "Task",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -457,7 +457,7 @@ export async function validateUser( req, res ) {
457
457
 
458
458
  export const validateUserv1 = async ( req, res ) => {
459
459
  try {
460
- if ( !req.body.assignedUsers.length ) {
460
+ if ( !req.body.assignedUsers?.length ) {
461
461
  return res.sendError( 'Please Enter user Details', 400 );
462
462
  }
463
463