tango-app-api-client 3.6.17 → 3.6.19
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
|
@@ -138,7 +138,7 @@ export async function getAuditFile( req, res ) {
|
|
|
138
138
|
data.status = 'In-Progress';
|
|
139
139
|
}
|
|
140
140
|
} );
|
|
141
|
-
ticketSource.status = '
|
|
141
|
+
ticketSource.status = inputData.tickettype === 'internal' ?'In-Progress': ticketSource.status;
|
|
142
142
|
ticketSource.createdByRole = req?.user?.role || '';
|
|
143
143
|
ticketSource.createdByEmail = req?.user?.email || '';
|
|
144
144
|
ticketSource.createdByUserName = req?.user?.userName || '';
|
|
@@ -235,7 +235,7 @@ export async function getAuditFile( req, res ) {
|
|
|
235
235
|
console.log( '🚀 ~ getAuditFile ~ data.status:', data.status );
|
|
236
236
|
}
|
|
237
237
|
} );
|
|
238
|
-
ticketSource.status = 'In-Progress';
|
|
238
|
+
ticketSource.status = inputData.tickettype === 'internal' ?'In-Progress': ticketSource.status;
|
|
239
239
|
ticketSource.createdByRole = req?.user?.role || '';
|
|
240
240
|
ticketSource.createdByEmail = req?.user?.email || '';
|
|
241
241
|
ticketSource.createdByUserName = req?.user?.userName || '';
|