From 7810eba3dbfa14baab720219be36f433c9b56581 Mon Sep 17 00:00:00 2001 From: Massimiliano Assante Date: Tue, 3 May 2022 15:43:18 +0200 Subject: [PATCH] fixed bug --- .../social/networking/ws/methods/v2/Notifications.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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;