tango-app-api-infra 3.1.30 → 3.1.32

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-infra",
3
- "version": "3.1.30",
3
+ "version": "3.1.32",
4
4
  "description": "infra",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -165,7 +165,7 @@ export async function updateRefreshTicket( req, res ) {
165
165
  await updateOneTangoTicketunset( { ticketId: ticket.ticketId }, { 'ticketDetails.addressingUser': 1 } );
166
166
  if ( getTicket&&getTicket.basicDetails ) {
167
167
  let getclient = await findOneClient( { clientId: getTicket.basicDetails.clientId } );
168
- if ( getclient.ticketConfigs.emailAlert ) {
168
+ if ( getclient&&getclient.ticketConfigs&&getclient.ticketConfigs.emailAlert ) {
169
169
  let downTimeQuery = {
170
170
  'size': 1,
171
171
  'query': {