fixed bug
This commit is contained in:
parent
764c9f997a
commit
b45fd2c323
|
@ -188,12 +188,6 @@ public class Notifications {
|
||||||
String username = caller.getClient().getId();
|
String username = caller.getClient().getId();
|
||||||
|
|
||||||
logger.debug("workspace notifications from user = " + username);
|
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();
|
ResponseBean responseBean = new ResponseBean();
|
||||||
Status status = Status.OK;
|
Status status = Status.OK;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue