fix notification
This commit is contained in:
parent
b6d6385dc0
commit
5f9732844d
|
@ -79,9 +79,6 @@ public class NotifyIntegrationEventHandlerImpl implements NotifyIntegrationEvent
|
||||||
NotifyIntegrationEvent event = this.jsonHandlingService.fromJsonSafe(NotifyIntegrationEvent.class, message);
|
NotifyIntegrationEvent event = this.jsonHandlingService.fromJsonSafe(NotifyIntegrationEvent.class, message);
|
||||||
if (event == null)
|
if (event == null)
|
||||||
return EventProcessingStatus.Error;
|
return EventProcessingStatus.Error;
|
||||||
if (event.getUserId() == null) {
|
|
||||||
throw new MyValidationException(this.errors.getModelValidation().getCode(), "userId", messageSource.getMessage("Validation_Required", new Object[]{"userId"}, LocaleContextHolder.getLocale()));
|
|
||||||
}
|
|
||||||
logger.debug("Handling {}", NotifyIntegrationEvent.class.getSimpleName());
|
logger.debug("Handling {}", NotifyIntegrationEvent.class.getSimpleName());
|
||||||
|
|
||||||
NotificationPersist model = new NotificationPersist();
|
NotificationPersist model = new NotificationPersist();
|
||||||
|
|
Loading…
Reference in New Issue