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