diff --git a/package.json b/package.json index 61b6a9f..9d6c59b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@al/core", - "version": "1.2.30", + "version": "1.2.31", "description": "Node Enterprise Packages for Alert Logic (NEPAL) Core Library", "main": "./dist/index.cjs.js", "types": "./dist/index.d.ts", diff --git a/src/aims-client/aims-client.ts b/src/aims-client/aims-client.ts index 38a3704..4cc5b13 100644 --- a/src/aims-client/aims-client.ts +++ b/src/aims-client/aims-client.ts @@ -160,7 +160,7 @@ export class AIMSClientInstance implements AlValidationSchemaProvider { results.forEach((result, index) => { let id = userIds[index]; if (result.status === 'fulfilled') { - this._usersDict[id] = result.value.name ?? ''; + this._usersDict[id] = result.value.name || ''; } else if(result.status === 'rejected') { this._usersDict[id] = 'Unknown User'; }