tango-app-api-audit 3.5.18 → 3.5.20
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-audit",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.20",
|
|
4
4
|
"description": "audit & audit metrics apis",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"nodemon": "^3.1.3",
|
|
28
28
|
"swagger-ui-express": "^5.0.1",
|
|
29
29
|
"tango-api-schema": "^2.3.21",
|
|
30
|
-
"tango-app-api-middleware": "^3.
|
|
30
|
+
"tango-app-api-middleware": "^3.4.4",
|
|
31
31
|
"winston": "^3.13.0",
|
|
32
32
|
"winston-daily-rotate-file": "^5.0.0"
|
|
33
33
|
},
|
|
@@ -1671,8 +1671,10 @@ export async function rmList( req, res ) {
|
|
|
1671
1671
|
const inputData = req.query;
|
|
1672
1672
|
const query = {
|
|
1673
1673
|
clientId: req?.user?.userType == 'tango' ? inputData.clientId : req?.user?.clientId,
|
|
1674
|
+
configureType: 'user',
|
|
1674
1675
|
};
|
|
1675
1676
|
const getRMList = await findOneEyeTestConfig( query, { userList: 1 } );
|
|
1677
|
+
logger.info( { getRMList: getRMList } );
|
|
1676
1678
|
return res.sendSuccess( { result: getRMList?.userList || [] } );
|
|
1677
1679
|
} catch ( error ) {
|
|
1678
1680
|
const err = error.message || 'Internal Server Error';
|
|
@@ -157,6 +157,7 @@ export const summaryListSchema = joi.object( {
|
|
|
157
157
|
searchValue: joi.string().optional().allow( '' ),
|
|
158
158
|
sortBy: joi.string().optional(),
|
|
159
159
|
sortOrder: joi.number().optional(),
|
|
160
|
+
category: joi.string().optional() .valid( 'fake', 'genuine' ),
|
|
160
161
|
} );
|
|
161
162
|
|
|
162
163
|
export const summaryListValid = {
|