tango-app-api-trax 3.4.1-activitylog-4 → 3.4.1-activitylog-5
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
|
@@ -129,7 +129,6 @@ export const checklist = async ( req, res ) => {
|
|
|
129
129
|
|
|
130
130
|
export const create = async ( req, res ) => {
|
|
131
131
|
try {
|
|
132
|
-
console.log( 'create' );
|
|
133
132
|
let inputBody = req.body;
|
|
134
133
|
let checkNumber;
|
|
135
134
|
let questionCount = 0;
|
|
@@ -307,11 +306,8 @@ export const create = async ( req, res ) => {
|
|
|
307
306
|
logDetails: {},
|
|
308
307
|
userType: req.user.userType,
|
|
309
308
|
};
|
|
310
|
-
console.log( 'req.user', req.user );
|
|
311
|
-
console.log( 'logObj', logObj );
|
|
312
309
|
insertOpenSearchData( JSON.parse( process.env.OPENSEARCH ).traxActivityLog, logObj );
|
|
313
310
|
if ( inputBody.submitType == 'save' ) {
|
|
314
|
-
console.log( 'logObj', logObj );
|
|
315
311
|
let logObj = {
|
|
316
312
|
client_id: inputBody.clientId,
|
|
317
313
|
createAt: new Date(),
|