KEYCLOAK-1270 fix

This commit is contained in:
Leonardo Zanivan 2015-05-05 11:17:27 -03:00
parent 3a9ac80786
commit a13a02c995

View file

@ -67,6 +67,7 @@ public class ClientsResource {
rep.add(ModelToRepresentation.toRepresentation(clientModel));
} else {
ClientRepresentation client = new ClientRepresentation();
client.setId(clientModel.getId());
client.setClientId(clientModel.getClientId());
rep.add(client);
}