diff --git a/src/main/java/org/gcube/portal/social/networking/ws/methods/v2/Notifications.java b/src/main/java/org/gcube/portal/social/networking/ws/methods/v2/Notifications.java index 0424ad9..b09da0a 100644 --- a/src/main/java/org/gcube/portal/social/networking/ws/methods/v2/Notifications.java +++ b/src/main/java/org/gcube/portal/social/networking/ws/methods/v2/Notifications.java @@ -189,11 +189,7 @@ public class Notifications { logger.debug("workspace notifications from user = " + username); - if (!message.getType().getNotificationClass().isInstance(message)) { - //invalid call - return Response.status(Status.BAD_REQUEST).build(); - } - logger.debug("workspace notifications request is correct, handling it"); + logger.debug("trying hangling workspace notifications request"); ResponseBean responseBean = new ResponseBean(); Status status = Status.OK;