tango-app-api-audit 3.5.60 → 3.5.61

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.60",
3
+ "version": "3.5.61",
4
4
  "description": "audit & audit metrics apis",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -428,7 +428,7 @@ export async function openSearchLog( inputData, user, id ) {
428
428
  fileDate: inputData.fileDate || '',
429
429
  auditType: inputData.auditType || '',
430
430
  storeId: inputData.storeId || '',
431
- clientId: inputData.storeId.split( '-' )[0] || '',
431
+ clientId: inputData?.storeId?.split( '-' )[0] || '',
432
432
  zoneName: inputData.zoneName || '',
433
433
  moduleType: inputData.moduleType || '',
434
434
  queueName: inputData.queueName || '',