fixed bug
This commit is contained in:
parent
7810eba3db
commit
ebecec2c1e
|
@ -189,7 +189,11 @@ public class Notifications {
|
||||||
|
|
||||||
logger.debug("workspace notifications from user = " + username);
|
logger.debug("workspace notifications from user = " + username);
|
||||||
|
|
||||||
logger.debug("trying hangling workspace notifications request");
|
if (!message.getType().getNotificationClass().isInstance(message)) {
|
||||||
|
//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