tango-app-api-analysis-traffic 3.8.1-alpha.13 → 3.8.1-alpha.14

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-analysis-traffic",
3
- "version": "3.8.1-alpha.13",
3
+ "version": "3.8.1-alpha.14",
4
4
  "description": "Traffic Analysis",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -79,7 +79,7 @@ export async function mappingConfig( req, res, next ) {
79
79
 
80
80
  const getData = await getOpenSearchCount( openSearch.revop, getQuery );
81
81
  if ( getData && getData?.body?.count >= 2 ) {
82
- return res.sendError( 'maximum limit reached of 2 employees', 400 );
82
+ return res.sendError( 'Select up to 2 items only', 400 );
83
83
  } else {
84
84
  next();
85
85
  }
@@ -109,7 +109,7 @@ export async function mappingConfig( req, res, next ) {
109
109
  };
110
110
  const getData = await getOpenSearchCount( openSearch.revop, getQuery );
111
111
  if ( getData && getData?.body?.count >= 1 ) {
112
- return res.sendError( 'maximum limit reached of 1 house keeping', 400 );
112
+ return res.sendError( 'Select up to 1 items only', 400 );
113
113
  } else {
114
114
  next();
115
115
  }