Merge pull request #1648 from girirajsharma/master
[KEYCLOAK-1880] Admin API Doesn't Detect Null Client
This commit is contained in:
commit
e104450fc8
1 changed files with 1 additions and 1 deletions
|
@ -792,7 +792,7 @@ public class UsersResource {
|
|||
}
|
||||
|
||||
ClientModel clientModel = realm.getClientById(client);
|
||||
if (client == null) {
|
||||
if (clientModel == null) {
|
||||
throw new NotFoundException("Client not found");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue