[KEYCLOAK-1880] Admin API Doesn't Detect Null Client

This commit is contained in:
girirajsharma 2015-09-27 14:57:16 +05:30
parent a942322d99
commit c22b0f4da8

View file

@ -792,7 +792,7 @@ public class UsersResource {
}
ClientModel clientModel = realm.getClientById(client);
if (client == null) {
if (clientModel == null) {
throw new NotFoundException("Client not found");
}