This commit is contained in:
Efstratios Giannopoulos 2024-05-13 14:57:08 +03:00
parent 7947df3a3a
commit 6583c6d07a
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ public class NotifyIntegrationEventHandlerImpl implements NotifyIntegrationEvent
notificationService.persist(model, new BaseFieldSet()); notificationService.persist(model, new BaseFieldSet());
auditService.track(AuditableAction.Notification_Persist, Map.ofEntries( auditService.track(AuditableAction.Notification_Persist, Map.ofEntries(
new AbstractMap.SimpleEntry<String, Object>("id", event.getUserId()) new AbstractMap.SimpleEntry<String, Object>("id", event.getUserId() != null ? event.getUserId() : event.getContactHint())
)); ));
} catch (Exception ex) { } catch (Exception ex) {
status = EventProcessingStatus.Error; status = EventProcessingStatus.Error;