Merge pull request #1648 from girirajsharma/master

[KEYCLOAK-1880] Admin API Doesn't Detect Null Client
This commit is contained in:
Stian Thorgersen 2015-09-28 09:06:26 +02:00
commit e104450fc8

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");
}