Revision 59284
Added by Konstantinos Triantafyllou over 3 years ago
RegistryCalls.java | ||
---|---|---|
231 | 231 |
JsonArray names = new JsonArray(); |
232 | 232 |
infos.forEach(info -> { |
233 | 233 |
JsonObject user = new JsonObject(); |
234 |
user.addProperty("email", info.getAsJsonObject().get("Given").getAsString() + " " + info.getAsJsonObject().get("Family").getAsString());
|
|
234 |
user.addProperty("name", info.getAsJsonObject().get("Given").getAsString() + " " + info.getAsJsonObject().get("Family").getAsString());
|
|
235 | 235 |
user.addProperty("memberSince", info.getAsJsonObject().get("Created").getAsString()); |
236 | 236 |
names.add(user); |
237 | 237 |
}); |
Also available in: Unified diff
[Users | Trunk]: Change email field to name when return user name