tango-app-api-client 3.3.3-beta.7 → 3.3.3-beta.8
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-client",
|
|
3
|
-
"version": "3.3.3-beta.
|
|
3
|
+
"version": "3.3.3-beta.8",
|
|
4
4
|
"description": "client",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"nodemon": "^3.0.3",
|
|
28
28
|
"npm": "^10.9.1",
|
|
29
29
|
"swagger-ui-express": "^5.0.0",
|
|
30
|
-
"tango-api-schema": "^2.2.
|
|
30
|
+
"tango-api-schema": "^2.2.42",
|
|
31
31
|
"tango-app-api-middleware": "3.1.43-alpha.10",
|
|
32
32
|
"winston": "^3.11.0",
|
|
33
33
|
"winston-daily-rotate-file": "^5.0.0"
|
|
@@ -396,7 +396,7 @@ export async function changeStatus( req, res, next ) {
|
|
|
396
396
|
|
|
397
397
|
export async function getClients( req, res ) {
|
|
398
398
|
try {
|
|
399
|
-
const field = { clientName: 1, clientId: 1, traxDateRange: '$featureConfigs.traxDateRange' };
|
|
399
|
+
const field = { clientName: 1, clientId: 1, traxDateRange: '$featureConfigs.traxDateRange', trafficDateRange: '$featureConfigs.trafficDateRange' };
|
|
400
400
|
let result = [];
|
|
401
401
|
if ( req?.user?.role === 'superadmin' ) {
|
|
402
402
|
result = await findClient( {}, field );
|