tango-app-api-task 3.4.1-activitylog-13 → 3.4.1-activitylog-15
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
|
@@ -2330,14 +2330,13 @@ export async function approveTask( req, res ) {
|
|
|
2330
2330
|
let url = JSON.parse( process.env.LAMBDAURL );
|
|
2331
2331
|
|
|
2332
2332
|
let searchResponse = await fetch( url.approveTask, requestOptions );
|
|
2333
|
-
console.log( 'logData', logData );
|
|
2334
2333
|
let logData= {
|
|
2335
2334
|
'client_id': taskDetails[0].client_id,
|
|
2336
2335
|
'createAt': new Date(),
|
|
2337
2336
|
'sourceCheckList_id': req.body.sourceCheckList_id,
|
|
2338
2337
|
'checkListName': taskDetails[0].checkListName,
|
|
2339
2338
|
'fromCheckListName': taskDetails[0].checkListName,
|
|
2340
|
-
'type': '
|
|
2339
|
+
'type': 'task',
|
|
2341
2340
|
'action': 'approved',
|
|
2342
2341
|
'storeName': '',
|
|
2343
2342
|
'store_id': '',
|