tango-app-api-task 1.0.0-alpha.7 → 1.0.0-alpha.9

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": "1.0.0-alpha.7",
3
+ "version": "1.0.0-alpha.9",
4
4
  "description": "Task",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -336,7 +336,7 @@ export async function validateUser( req, res ) {
336
336
  }
337
337
  if ( alreadyExist.length ) {
338
338
  let email = [ ...new Set( alreadyExist ) ];
339
- return res.sendError( `${email.join()} - email already exist`, 500 );
339
+ return res.sendError( `${email.join()} - email already exist for another brand`, 500 );
340
340
  } else {
341
341
  userEmail.forEach( ( item ) => {
342
342
  data.push( {