tango-app-api-client 3.6.5-vms.19 → 3.6.5-vms.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
|
@@ -122,7 +122,7 @@ export async function getAuditFile( req, res ) {
|
|
|
122
122
|
const currentTime = new Date();
|
|
123
123
|
const updatePayload = {
|
|
124
124
|
doc: {
|
|
125
|
-
|
|
125
|
+
|
|
126
126
|
updatedAt: currentTime,
|
|
127
127
|
createdByRole: req?.user?.role || '',
|
|
128
128
|
createdByEmail: req?.user?.email || '',
|
|
@@ -132,7 +132,7 @@ export async function getAuditFile( req, res ) {
|
|
|
132
132
|
};
|
|
133
133
|
console.log( '🚀 ~ getAuditFile ~ updatePayload:', updatePayload );
|
|
134
134
|
console.log( '🚀 ~ getAuditFile ~ ticketSource:', ticketSource );
|
|
135
|
-
if ( ticketSource
|
|
135
|
+
if ( ticketSource ) {
|
|
136
136
|
ticketSource.mappingInfo.map( ( data ) => {
|
|
137
137
|
if ( data.type === 'tangoreview' ) {
|
|
138
138
|
data.status = 'In-Progress';
|
|
@@ -214,7 +214,7 @@ export async function getAuditFile( req, res ) {
|
|
|
214
214
|
const currentTime = new Date();
|
|
215
215
|
const updatePayload = {
|
|
216
216
|
doc: {
|
|
217
|
-
|
|
217
|
+
|
|
218
218
|
updatedAt: currentTime,
|
|
219
219
|
createdByRole: req?.user?.role || '',
|
|
220
220
|
createdByEmail: req?.user?.email || '',
|
|
@@ -224,7 +224,7 @@ export async function getAuditFile( req, res ) {
|
|
|
224
224
|
};
|
|
225
225
|
console.log( '🚀 ~ getAuditFile ~ updatePayload:', updatePayload );
|
|
226
226
|
console.log( '🚀 ~ getAuditFile ~ ticketSource:', ticketSource );
|
|
227
|
-
if ( ticketSource
|
|
227
|
+
if ( ticketSource ) {
|
|
228
228
|
ticketSource.mappingInfo.map( ( data ) => {
|
|
229
229
|
if ( data.type === 'tangoreview' ) {
|
|
230
230
|
data.status = 'In-Progress';
|