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 030bf48..8df923c 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 @@ -494,15 +494,13 @@ public class Notifications { String context = ScopeProvider.instance.get(); String username = caller.getClient().getId(); - logger.debug("workspace notifications from user = " + username); + logger.debug("workspace notifications from = " + username); ResponseBean responseBean = new ResponseBean(); Status status = Status.OK; boolean deliveryResult = false; try { GCubeUser senderUser = null; SocialNetworkingUser user = null; - // check if the token belongs to an application token. In this case use J.A.R.V.I.S (the username used to communicate with Liferay) - String username = null; String fullName = ""; logger.debug("workspace notifications type is " + event.getType()); SocialNetworkingSite site = SocialNetworkingSiteFinder.getSocialNetworkingSiteFromScope(context);