fixed check
This commit is contained in:
parent
e90bdcedb2
commit
c3b1c8ab53
|
@ -346,7 +346,7 @@ public class Notifications {
|
||||||
status = Status.NOT_ACCEPTABLE;
|
status = Status.NOT_ACCEPTABLE;
|
||||||
logger.error("Username not found", e);
|
logger.error("Username not found", e);
|
||||||
responseBean.setSuccess(false);
|
responseBean.setSuccess(false);
|
||||||
responseBean.setMessage("Username not found " + userIdToNotify);
|
responseBean.setMessage("Username not found, received: " + userIdToNotify);
|
||||||
return Response.status(status).entity(responseBean).build();
|
return Response.status(status).entity(responseBean).build();
|
||||||
}
|
}
|
||||||
deliveryResult = notifyWorkspaceEvent(event, nm, username2Notify);
|
deliveryResult = notifyWorkspaceEvent(event, nm, username2Notify);
|
||||||
|
|
Loading…
Reference in New Issue