fixed bug

This commit is contained in:
Massimiliano Assante 2022-05-04 12:32:29 +02:00
parent 764c9f997a
commit b45fd2c323
1 changed files with 0 additions and 6 deletions

View File

@ -188,12 +188,6 @@ public class Notifications {
String username = caller.getClient().getId();
logger.debug("workspace notifications from user = " + username);
if (!event.getType().getNotificationClass().isInstance(WorkspaceEvent.class)) {
//invalid call
return Response.status(Status.BAD_REQUEST).build();
}
logger.debug("workspace notifications request is correct, handling it");
ResponseBean responseBean = new ResponseBean();
Status status = Status.OK;